Index

A B C D E G H I K M N R S T U W 
All Classes and Interfaces|All Packages

A

AbstractCacheEngine - Class in dev.voidframework.cache.engine
This abstract implementation provides the necessary tools for the various implementations of CacheEngine to work smoothly.
AbstractCacheEngine() - Constructor for class dev.voidframework.cache.engine.AbstractCacheEngine
Build a new instance.
AbstractCacheEngine.CachedElement - Record Class in dev.voidframework.cache.engine
Wrapper: cached element.

B

BlackHoleCacheEngine - Class in dev.voidframework.cache.engine
Black Hole (do nothing) cache implementation.
BlackHoleCacheEngine() - Constructor for class dev.voidframework.cache.engine.BlackHoleCacheEngine
 

C

CachedElement(Class<?>, byte[]) - Constructor for record class dev.voidframework.cache.engine.AbstractCacheEngine.CachedElement
Creates an instance of a CachedElement record class.
cacheEngine - Variable in class dev.voidframework.cache.module.CacheInterceptor
Cache engine to use.
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 CacheRemove is used.
CacheInterceptorRemove() - Constructor for class dev.voidframework.cache.module.CacheInterceptorRemove
 
CacheInterceptorResult - Class in dev.voidframework.cache.module
Intercepts method call when annotation CacheResult is 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.
classType() - Method in record class dev.voidframework.cache.engine.AbstractCacheEngine.CachedElement
Returns the value of the classType record component.
configure() - Method in class dev.voidframework.cache.module.CacheModule
 
content() - Method in record class dev.voidframework.cache.engine.AbstractCacheEngine.CachedElement
Returns the value of the content record component.

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

equals(Object) - Method in record class dev.voidframework.cache.engine.AbstractCacheEngine.CachedElement
Indicates whether some other object is "equal to" this one.
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
 

H

hashCode() - Method in record class dev.voidframework.cache.engine.AbstractCacheEngine.CachedElement
Returns a hash code value for this object.

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).
toString() - Method in record class dev.voidframework.cache.engine.AbstractCacheEngine.CachedElement
Returns a string representation of this record class.

U

unwrap(AbstractCacheEngine.CachedElement) - Method in class dev.voidframework.cache.engine.AbstractCacheEngine
Unwraps an object from CachedElement.

W

wrap(Object) - Method in class dev.voidframework.cache.engine.AbstractCacheEngine
Wraps an object into CachedElement.
A B C D E G H I K M N R S T U W 
All Classes and Interfaces|All Packages