Package com.erudika.para.server.cache
Class CaffeineCache
java.lang.Object
com.erudika.para.server.cache.CaffeineCache
- All Implemented Interfaces:
com.erudika.para.core.cache.Cache
Default implementation of the
Cache interface using Caffeine.
Multitenancy is achieved by caching objects from each app using composite keys: prefix_objectId.- Author:
- Alex Bogdanovski [[email protected]]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanboolean<T> T<T> T<T> void<T> void<T> void<T> void<T> voidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
CaffeineCache
public CaffeineCache()Default constructor.
-
-
Method Details
-
contains
- Specified by:
containsin interfacecom.erudika.para.core.cache.Cache
-
put
- Specified by:
putin interfacecom.erudika.para.core.cache.Cache
-
put
- Specified by:
putin interfacecom.erudika.para.core.cache.Cache
-
putAll
- Specified by:
putAllin interfacecom.erudika.para.core.cache.Cache
-
get
- Specified by:
getin interfacecom.erudika.para.core.cache.Cache
-
getAll
- Specified by:
getAllin interfacecom.erudika.para.core.cache.Cache
-
remove
- Specified by:
removein interfacecom.erudika.para.core.cache.Cache
-
removeAll
- Specified by:
removeAllin interfacecom.erudika.para.core.cache.Cache
-
removeAll
- Specified by:
removeAllin interfacecom.erudika.para.core.cache.Cache
-
contains
- Specified by:
containsin interfacecom.erudika.para.core.cache.Cache
-
put
- Specified by:
putin interfacecom.erudika.para.core.cache.Cache
-
putAll
- Specified by:
putAllin interfacecom.erudika.para.core.cache.Cache
-
get
- Specified by:
getin interfacecom.erudika.para.core.cache.Cache
-
getAll
- Specified by:
getAllin interfacecom.erudika.para.core.cache.Cache
-
remove
- Specified by:
removein interfacecom.erudika.para.core.cache.Cache
-
removeAll
public void removeAll()- Specified by:
removeAllin interfacecom.erudika.para.core.cache.Cache
-
removeAll
- Specified by:
removeAllin interfacecom.erudika.para.core.cache.Cache
-