|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.config.StoreConfigurationImpl<K,V>
public class StoreConfigurationImpl<K,V>
Constructor Summary | |
---|---|
StoreConfigurationImpl(CacheConfiguration<K,V> cacheConfig,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
|
|
StoreConfigurationImpl(java.lang.Class<K> keyType,
java.lang.Class<V> valueType,
EvictionVeto<? super K,? super V> evictionVeto,
EvictionPrioritizer<? super K,? super V> evictionPrioritizer,
java.lang.ClassLoader classLoader,
Expiry<? super K,? super V> expiry,
ResourcePools resourcePools,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
|
Method Summary | |
---|---|
java.lang.ClassLoader |
getClassLoader()
The Classloader for this store. |
EvictionPrioritizer<? super K,? super V> |
getEvictionPrioritizer()
An entry comparator that may be used by the store to order a selected set of eviction candidates. |
EvictionVeto<? super K,? super V> |
getEvictionVeto()
A predicate function that, if it passes an entry, must prevent that entry from being evicted by the store. |
Expiry<? super K,? super V> |
getExpiry()
The expiration policy instance for this store |
Serializer<K> |
getKeySerializer()
|
java.lang.Class<K> |
getKeyType()
The type of the keys that a Store will hold. |
ResourcePools |
getResourcePools()
The resource pools this store can make use of |
Serializer<V> |
getValueSerializer()
|
java.lang.Class<V> |
getValueType()
The type of the values that a Store will hold. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreConfigurationImpl(CacheConfiguration<K,V> cacheConfig, Serializer<K> keySerializer, Serializer<V> valueSerializer)
public StoreConfigurationImpl(java.lang.Class<K> keyType, java.lang.Class<V> valueType, EvictionVeto<? super K,? super V> evictionVeto, EvictionPrioritizer<? super K,? super V> evictionPrioritizer, java.lang.ClassLoader classLoader, Expiry<? super K,? super V> expiry, ResourcePools resourcePools, Serializer<K> keySerializer, Serializer<V> valueSerializer)
Method Detail |
---|
public java.lang.Class<K> getKeyType()
Store.Configuration
type
of the keys that a Store will hold.
getKeyType
in interface Store.Configuration<K,V>
public java.lang.Class<V> getValueType()
Store.Configuration
type
of the values that a Store will hold.
getValueType
in interface Store.Configuration<K,V>
public EvictionVeto<? super K,? super V> getEvictionVeto()
Store.Configuration
getEvictionVeto
in interface Store.Configuration<K,V>
public EvictionPrioritizer<? super K,? super V> getEvictionPrioritizer()
Store.Configuration
getEvictionPrioritizer
in interface Store.Configuration<K,V>
public java.lang.ClassLoader getClassLoader()
Store.Configuration
getClassLoader
in interface Store.Configuration<K,V>
public Expiry<? super K,? super V> getExpiry()
Store.Configuration
getExpiry
in interface Store.Configuration<K,V>
public ResourcePools getResourcePools()
Store.Configuration
getResourcePools
in interface Store.Configuration<K,V>
public Serializer<K> getKeySerializer()
getKeySerializer
in interface Store.Configuration<K,V>
public Serializer<V> getValueSerializer()
getValueSerializer
in interface Store.Configuration<K,V>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |