@ApplicationScoped
public class CaffeineCaches
extends Object
-
Nested Class Summary
Nested Classes
-
-
Constructor Summary
Constructors
-
Method Summary
(package private) static com.github.benmanes.caffeine.cache.LoadingCache<String,String>
(package private) static com.github.benmanes.caffeine.cache.Cache<String,String>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SHARED_CACHE_NAME
public static final String SHARED_CACHE_NAME
- See Also:
-
-
LOADING_CACHE_NAME
public static final String LOADING_CACHE_NAME
- See Also:
-
-
Constructor Details
-
CaffeineCaches
public CaffeineCaches()
-
Method Details
-
shared
@Named("shared-cache")
static com.github.benmanes.caffeine.cache.Cache<String,String> shared()
-
loading
@Named("loading-cache")
static com.github.benmanes.caffeine.cache.LoadingCache<String,String> loading()