Index
All Classes and Interfaces|All Packages
B
- BlackHoleCacheEngine - Class in dev.voidframework.cache.engine
-
Black Hole (do nothing) cache implementation.
- BlackHoleCacheEngine() - Constructor for class dev.voidframework.cache.engine.BlackHoleCacheEngine
C
- cacheEngine - Variable in class dev.voidframework.cache.module.CacheInterceptor
- CacheEngine - Interface in dev.voidframework.cache.engine
-
The cache engine is responsible for adding, retrieving and managing the lifetime of cached items.
- CacheEngineProvider - Class in dev.voidframework.cache.module
-
Cache engine provider.
- CacheEngineProvider(Config, Injector) - Constructor for class dev.voidframework.cache.module.CacheEngineProvider
-
Build a new instance;
- CacheInterceptor - Class in dev.voidframework.cache.module
-
Intercepts method calls to apply the desired cache behavior.
- CacheInterceptor() - Constructor for class dev.voidframework.cache.module.CacheInterceptor
-
Build a new instance.
- CacheInterceptorRemove - Class in dev.voidframework.cache.module
-
Intercepts method call when annotation
CacheRemoveis used. - CacheInterceptorRemove() - Constructor for class dev.voidframework.cache.module.CacheInterceptorRemove
- CacheInterceptorResult - Class in dev.voidframework.cache.module
-
Intercepts method call when annotation
CacheResultis used. - CacheInterceptorResult() - Constructor for class dev.voidframework.cache.module.CacheInterceptorResult
- CacheModule - Class in dev.voidframework.cache.module
-
Cache module.
- CacheModule() - Constructor for class dev.voidframework.cache.module.CacheModule
- CacheRemove - Annotation Interface in dev.voidframework.cache
-
Annotation indicating that the cache must be evicted.
- CacheResult - Annotation Interface in dev.voidframework.cache
-
Annotation indicating that the result of the method will be cached and reused in future calls.
- configure() - Method in class dev.voidframework.cache.module.CacheModule
D
- dev.voidframework.cache - package dev.voidframework.cache
- dev.voidframework.cache.engine - package dev.voidframework.cache.engine
- dev.voidframework.cache.module - package dev.voidframework.cache.module
E
- evictOn() - Element in annotation interface dev.voidframework.cache.CacheRemove
-
Defines exception classes indicating the exception types that must cause a cache eviction.
G
- get() - Method in class dev.voidframework.cache.module.CacheEngineProvider
- get(String) - Method in class dev.voidframework.cache.engine.BlackHoleCacheEngine
- get(String) - Method in interface dev.voidframework.cache.engine.CacheEngine
-
Retrieves a value from cache.
- get(String) - Method in class dev.voidframework.cache.engine.MemoryCacheEngine
I
- invoke(MethodInvocation) - Method in class dev.voidframework.cache.module.CacheInterceptorRemove
- invoke(MethodInvocation) - Method in class dev.voidframework.cache.module.CacheInterceptorResult
K
- key() - Element in annotation interface dev.voidframework.cache.CacheRemove
-
Key of the cache to evict.
- key() - Element in annotation interface dev.voidframework.cache.CacheResult
-
Key of the cache in which result is stored.
M
- MemoryCacheEngine - Class in dev.voidframework.cache.engine
-
In-memory cache implementation.
- MemoryCacheEngine(Config) - Constructor for class dev.voidframework.cache.engine.MemoryCacheEngine
-
Build a new instance.
N
- noEvictOn() - Element in annotation interface dev.voidframework.cache.CacheRemove
-
Defines exception Classes indicating the exception types that must not cause a cache eviction.
R
- remove(String) - Method in class dev.voidframework.cache.engine.BlackHoleCacheEngine
- remove(String) - Method in interface dev.voidframework.cache.engine.CacheEngine
-
Removes a value from cache.
- remove(String) - Method in class dev.voidframework.cache.engine.MemoryCacheEngine
- resolveCacheKey(MethodInvocation, String) - Method in class dev.voidframework.cache.module.CacheInterceptor
-
Resolves the cache key.
S
- set(String, Object, int) - Method in class dev.voidframework.cache.engine.BlackHoleCacheEngine
- set(String, Object, int) - Method in interface dev.voidframework.cache.engine.CacheEngine
-
Sets a value to the cache.
- set(String, Object, int) - Method in class dev.voidframework.cache.engine.MemoryCacheEngine
- setCacheEngine(CacheEngine) - Method in class dev.voidframework.cache.module.CacheInterceptor
-
Sets the cache engine to use.
T
- timeToLive() - Element in annotation interface dev.voidframework.cache.CacheResult
-
Retention time (in seconds).
All Classes and Interfaces|All Packages