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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
<T> T
<T> T
<T> void
<T> void
<T> void
<T> void
<T> void
void
void
void
void
void
void
-
Constructor Details
-
CaffeineCache
public CaffeineCache()Default constructor.
-
-
Method Details
-
contains
-
put
-
put
-
putAll
-
get
-
getAll
-
remove
-
removeAll
- Specified by:
removeAll
in interfacecom.erudika.para.core.cache.Cache
-
removeAll
-
contains
- Specified by:
contains
in interfacecom.erudika.para.core.cache.Cache
-
put
- Specified by:
put
in interfacecom.erudika.para.core.cache.Cache
-
putAll
-
get
- Specified by:
get
in interfacecom.erudika.para.core.cache.Cache
-
getAll
-
remove
- Specified by:
remove
in interfacecom.erudika.para.core.cache.Cache
-
removeAll
public void removeAll()- Specified by:
removeAll
in interfacecom.erudika.para.core.cache.Cache
-
removeAll
-