Uses of Interface
org.terracotta.cache.CacheConfig

Packages that use CacheConfig
net.sf.ehcache   
org.terracotta.cache   
org.terracotta.cache.evictor   
org.terracotta.cache.impl   
org.terracotta.cache.serialization   
org.terracotta.cache.value   
org.terracotta.modules.ehcache.store   
 

Uses of CacheConfig in net.sf.ehcache
 

Methods in net.sf.ehcache with parameters of type CacheConfig
 int AbstractElementData.expiresAt(CacheConfig config)
           
 

Uses of CacheConfig in org.terracotta.cache
 

Methods in org.terracotta.cache that return CacheConfig
 CacheConfig DistributedCache.getConfig()
          Get the current config for the cache (which may or may not be the config passed to the cache originally.
static CacheConfig CacheConfigFactory.newConfig()
          Construct a new cache configuration.
 CacheConfig CacheConfig.setCapacityEvictionPolicyDataFactory(CapacityEvictionPolicyData.Factory factory)
          Set the CapacityEvictionPolicyData.Factory to use for creating CapacityEvictionPolicyData
 CacheConfig CacheConfig.setLoggingEnabled(boolean loggingEnabled)
          Set distributed cache logging on or off.
 CacheConfig CacheConfig.setMaxTTISeconds(int maxTTISeconds)
           Set max "time to idle" in seconds.
 CacheConfig CacheConfig.setMaxTTLSeconds(int maxTTLSeconds)
           Set max "time to live" in seconds.
 CacheConfig CacheConfig.setName(String name)
          Set distributed cache name, used solely for logging and thread naming purposes.
 CacheConfig CacheConfig.setOrphanEvictionEnabled(boolean orphanEvictionEnabled)
          Turn orphan eviction on or off.
 CacheConfig CacheConfig.setOrphanEvictionPeriod(int orphanEvictionPeriod)
          Set frequency at which orphan eviction will occur.
 CacheConfig CacheConfig.setTargetMaxInMemoryCount(int targetMaxInMemoryCount)
           Set the current target for maximum in-memory number of entries.
 CacheConfig CacheConfig.setTargetMaxTotalCount(int targetMaxTotalCount)
           Set the current target for maximum total number of entries.
 

Methods in org.terracotta.cache with parameters of type CacheConfig
 int TimestampedValue.expiresAt(CacheConfig config)
          Determine when this value will expire based on the current configuration.
 boolean TimestampedValue.isExpired(int time, CacheConfig config)
          Determine whether this value will be expired at time based on the config.
 void TimestampedValue.markUsed(int usedAt, String lockId, CacheConfig config)
          Mark this value as being used at the specified time.
 

Uses of CacheConfig in org.terracotta.cache.evictor
 

Constructors in org.terracotta.cache.evictor with parameters of type CacheConfig
EvictionScheduler(CacheConfig config, Evictor<?> evictor)
          Construct a scheduler that pauses for the delay and whose background thread name is based on the timerName.
OrphanEvictionListener(CacheConfig config, Evictable<K> store, EvictorLock orphanEvictorLock)
          Construct an orphan eviction listener with clustered state
TargetCapacityMapSizeListener(ConcurrentDistributedMap map, CacheConfig config)
           
 

Uses of CacheConfig in org.terracotta.cache.impl
 

Classes in org.terracotta.cache.impl that implement CacheConfig
 class ImmutableConfig
          An immutable configuration that can be handed to a DistributedMap implementation.
 class MutableConfig
          Initialized with default configuration values.
 

Methods in org.terracotta.cache.impl that return CacheConfig
 CacheConfig DistributedCacheImpl.getConfig()
           
 CacheConfig LocalCache.getConfig()
           
 CacheConfig ImmutableConfig.setCapacityEvictionPolicyDataFactory(CapacityEvictionPolicyData.Factory type)
           
 CacheConfig MutableConfig.setCapacityEvictionPolicyDataFactory(CapacityEvictionPolicyData.Factory factory)
           
 CacheConfig ImmutableConfig.setLoggingEnabled(boolean loggingEnabled)
           
 CacheConfig ImmutableConfig.setMaxTTISeconds(int maxTTISeconds)
           
 CacheConfig ImmutableConfig.setMaxTTLSeconds(int maxTTLSeconds)
           
 CacheConfig ImmutableConfig.setName(String name)
           
 CacheConfig ImmutableConfig.setOrphanEvictionEnabled(boolean orphanEvictionEnabled)
           
 CacheConfig ImmutableConfig.setOrphanEvictionPeriod(int orphanEvictionPeriod)
           
 CacheConfig ImmutableConfig.setTargetMaxInMemoryCount(int targetMaxInMemoryCount)
           
 CacheConfig ImmutableConfig.setTargetMaxTotalCount(int targetMaxTotalCount)
           
 

Constructors in org.terracotta.cache.impl with parameters of type CacheConfig
DistributedCacheImpl(CacheConfig config)
           
DistributedCacheImpl(CacheConfig config, ConcurrentDistributedMap<K,TimestampedValue<V>> concurrentDistributedMap)
           
ImmutableConfig(CacheConfig config)
           
LocalCache(CacheConfig config)
          Construct with the map configuration
 

Uses of CacheConfig in org.terracotta.cache.serialization
 

Methods in org.terracotta.cache.serialization with parameters of type CacheConfig
 int CustomLifespanSerializedEntry.expiresAt(CacheConfig config)
           
 

Uses of CacheConfig in org.terracotta.cache.value
 

Methods in org.terracotta.cache.value with parameters of type CacheConfig
 int AbstractStatelessTimestampedValue.expiresAt(CacheConfig config)
          Get the time at which this timestamp will become invalid.
 boolean AbstractStatelessTimestampedValue.isExpired(int atTime, CacheConfig config)
          Determine whether this timestamp is expired at the specified time.
 void AbstractStatelessTimestampedValue.markUsed(int usedAtTime, String lockId, CacheConfig config)
          Mark this timestamp as being used and reset the idle timer (if in use).
 

Uses of CacheConfig in org.terracotta.modules.ehcache.store
 

Constructors in org.terracotta.modules.ehcache.store with parameters of type CacheConfig
ClusteredStoreBackend(LockType lockType, CacheConfig config, net.sf.ehcache.event.RegisteredEventListeners listeners)
           
 



Copyright © 2010 Terracotta, Inc.. All Rights Reserved.