@Target(value=METHOD)
@Retention(value=RUNTIME)
public static @interface Events.Cache
Method marked with this annotation will use new instance of given CacheProvider
class to handle results caching. See also MemoryCache
implementation.
Method must also be marked with Events.Subscribe
annotation.
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends CacheProvider> |
value |
public abstract java.lang.Class<? extends CacheProvider> value