| Modifier | Constructor and Description |
|---|---|
protected |
CachedStore(L cacheLoader,
long maxCacheSize,
long expiryTimeInSeconds)
Constructor for CachedStore.
|
protected |
CachedStore(L cacheLoader,
long maxCacheSize,
long expiryTime,
java.util.concurrent.TimeUnit expiryTimeUnit)
Constructor for CachedStore.
|
| Modifier and Type | Method and Description |
|---|---|
V |
get(K key)
get.
|
com.google.common.cache.LoadingCache<K,V> |
getCache()
Getter for the field
cache. |
AppopsCacheLoader<K,V> |
getCacheLoader()
Getter for the field
cacheLoader. |
protected CachedStore(L cacheLoader,
long maxCacheSize,
long expiryTimeInSeconds)
Constructor for CachedStore.
L - a referencecacheLoader - a L object.maxCacheSize - a long.expiryTimeInSeconds - a long.protected CachedStore(L cacheLoader,
long maxCacheSize,
long expiryTime,
java.util.concurrent.TimeUnit expiryTimeUnit)
Constructor for CachedStore.
L - a referencecacheLoader - a L object.maxCacheSize - a long.expiryTime - a long.expiryTimeUnit - a TimeUnit object.public AppopsCacheLoader<K,V> getCacheLoader()
Getter for the field cacheLoader.
AppopsCacheLoader object.Copyright © 2022. All rights reserved.