Package | Description |
---|---|
javax.cache | |
org.wso2.carbon.caching.impl |
Modifier and Type | Method and Description |
---|---|
<K,V> CacheBuilder<K,V> |
CacheManager.createCacheBuilder(String cacheName)
Creates a new
CacheBuilder for the named cache to be managed by this cache manager. |
CacheBuilder<K,V> |
CacheBuilder.registerCacheEntryListener(CacheEntryListener<K,V> cacheEntryListener)
Registers a listener.
|
CacheBuilder<K,V> |
CacheBuilder.setCacheLoader(CacheLoader<K,? extends V> cacheLoader)
Sets the cache loader.
|
CacheBuilder<K,V> |
CacheBuilder.setCacheWriter(CacheWriter<? super K,? super V> cacheWriter)
Sets the cache writer.
|
CacheBuilder<K,V> |
CacheBuilder.setExpiry(CacheConfiguration.ExpiryType type,
CacheConfiguration.Duration duration)
Sets the cache expiration
|
CacheBuilder<K,V> |
CacheBuilder.setReadThrough(boolean readThrough)
Sets whether the cache is a read-through cache.
|
CacheBuilder<K,V> |
CacheBuilder.setStatisticsEnabled(boolean enableStatistics)
Sets whether statistics gathering is enabled on this cache.
|
CacheBuilder<K,V> |
CacheBuilder.setStoreByValue(boolean storeByValue)
Sets whether the cache is store-by-value cache.
|
CacheBuilder<K,V> |
CacheBuilder.setTransactionEnabled(IsolationLevel isolationLevel,
Mode mode)
Sets whether transaction are enabled for this cache.
|
CacheBuilder<K,V> |
CacheBuilder.setWriteThrough(boolean writeThrough)
Whether the cache is a write-through cache.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheBuilderImpl<K,V>
TODO: class description
|
Modifier and Type | Method and Description |
---|---|
<K,V> CacheBuilder<K,V> |
CarbonCacheManager.createCacheBuilder(String cacheName) |
CacheBuilder<K,V> |
CacheBuilderImpl.registerCacheEntryListener(CacheEntryListener<K,V> cacheEntryListener) |
CacheBuilder<K,V> |
CacheBuilderImpl.setCacheLoader(CacheLoader<K,? extends V> cacheLoader) |
CacheBuilder<K,V> |
CacheBuilderImpl.setCacheWriter(CacheWriter<? super K,? super V> cacheWriter) |
CacheBuilder<K,V> |
CacheBuilderImpl.setExpiry(CacheConfiguration.ExpiryType type,
CacheConfiguration.Duration duration) |
CacheBuilder<K,V> |
CacheBuilderImpl.setReadThrough(boolean readThrough) |
CacheBuilder<K,V> |
CacheBuilderImpl.setStatisticsEnabled(boolean enableStatistics) |
CacheBuilder<K,V> |
CacheBuilderImpl.setStoreByValue(boolean storeByValue) |
CacheBuilder<K,V> |
CacheBuilderImpl.setTransactionEnabled(IsolationLevel isolationLevel,
Mode mode) |
CacheBuilder<K,V> |
CacheBuilderImpl.setWriteThrough(boolean writeThrough) |
Copyright © 2015 WSO2 Inc. All rights reserved.