All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ahyakamil.AKCache.annotation.AKCache Maven / Gradle / Ivy

There is a newer version: 1.0.16
Show newest version
package com.ahyakamil.AKCache.annotation;

import com.ahyakamil.AKCache.constant.UpdateType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface AKCache {
    UpdateType updateType() default UpdateType.SMART;
    Class serializeClass() default Object.class;
    int ttl() default 86400;
    String conditionRegex() default ".*";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy