Uses of Interface
javax.cache.CacheBuilder

Packages that use CacheBuilder
javax.cache

This package contains the API for JCache. 

 

Uses of CacheBuilder in javax.cache
 

Methods in javax.cache that return CacheBuilder
<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.
 



Copyright © 2012. All Rights Reserved.