javax.cache
Interface CacheConfiguration<K,V>

All Known Implementing Classes:
CacheConfig

public interface CacheConfiguration<K,V>

Configuration for a new Cache.


Nested Class Summary
static class CacheConfiguration.Duration
           
static class CacheConfiguration.ExpiryType
           
 
Method Summary
 CacheLoader<K,? extends V> getCacheLoader()
           
 CacheWriter<? super K,? super V> getCacheWriter()
           
 CacheConfiguration.Duration getExpiry(CacheConfiguration.ExpiryType type)
           
 IsolationLevel getTransactionIsolationLevel()
           
 Mode getTransactionMode()
           
 boolean isReadThrough()
           
 boolean isStatisticsEnabled()
           
 boolean isStoreByValue()
           
 boolean isTransactionEnabled()
           
 boolean isWriteThrough()
           
 void setStatisticsEnabled(boolean isEnabled)
           
 

Method Detail

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)