javax.cache
Interface CacheConfiguration<K,V>
- All Known Implementing Classes:
- CacheConfig
public interface CacheConfiguration<K,V>
Configuration for a new Cache.
isReadThrough
boolean isReadThrough()
isWriteThrough
boolean isWriteThrough()
isStoreByValue
boolean isStoreByValue()
isStatisticsEnabled
boolean isStatisticsEnabled()
setStatisticsEnabled
void setStatisticsEnabled(boolean isEnabled)
isTransactionEnabled
boolean isTransactionEnabled()
getTransactionIsolationLevel
IsolationLevel getTransactionIsolationLevel()
getTransactionMode
Mode getTransactionMode()
getCacheLoader
CacheLoader<K,? extends V> getCacheLoader()
getCacheWriter
CacheWriter<? super K,? super V> getCacheWriter()
getExpiry
CacheConfiguration.Duration getExpiry(CacheConfiguration.ExpiryType type)