Package | Description |
---|---|
javax.cache |
This package contains the API for JCache.
|
Modifier and Type | Method and Description |
---|---|
MutableConfiguration<K,V> |
MutableConfiguration.registerCacheEntryListener(CacheEntryListener<? super K,? super V> cacheEntryListener,
boolean requireOldValue,
CacheEntryEventFilter<? super K,? super V> cacheEntryEventFilter,
boolean synchronous)
Add a
CacheEntryListener . |
MutableConfiguration<K,V> |
MutableConfiguration.setCacheLoaderFactory(Factory<? extends CacheLoader<K,V>> factory)
Set the
CacheLoader . |
MutableConfiguration<K,V> |
MutableConfiguration.setCacheWriterFactory(Factory<? extends CacheWriter<? super K,? super V>> factory)
Set the
CacheWriter . |
MutableConfiguration<K,V> |
MutableConfiguration.setExpiryPolicyFactory(Factory<? extends ExpiryPolicy<? super K,? super V>> factory)
Set the
Factory for the ExpiryPolicy . |
MutableConfiguration<K,V> |
MutableConfiguration.setManagementEnabled(boolean enabled)
Sets whether management is enabled on a cache.
|
MutableConfiguration<K,V> |
MutableConfiguration.setReadThrough(boolean isReadThrough)
Set if read-through caching should be used.
|
MutableConfiguration<K,V> |
MutableConfiguration.setStatisticsEnabled(boolean enabled)
Sets whether statistics gathering is enabled on a cache.
|
MutableConfiguration<K,V> |
MutableConfiguration.setStoreByValue(boolean isStoreByValue)
Set if a configured cache should use "store-by-value" or "store-by-reference"
semantics.
|
MutableConfiguration<K,V> |
MutableConfiguration.setTransactionMode(Mode mode)
Set the Transaction
Mode . |
MutableConfiguration<K,V> |
MutableConfiguration.setTransactions(IsolationLevel level,
Mode mode)
Set the Transaction
IsolationLevel and Mode . |
MutableConfiguration<K,V> |
MutableConfiguration.setTransactionsEnabled(boolean isTransactionsEnabled)
Set if transactions should be enabled.
|
MutableConfiguration<K,V> |
MutableConfiguration.setWriteThrough(boolean isWriteThrough)
Set if write-through caching should be used.
|
Copyright © 2013. All Rights Reserved.