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

shz.cache.Cacheable Maven / Gradle / Ivy

package shz.cache;

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

@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.METHOD)
public @interface Cacheable {
    CacheType cacheType() default CacheType.LRU;

    RefType refType() default RefType.SOFT;

    String name();

    int capacity() default 128;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy