|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.core.config.store.StoreConfigurationImpl<K,V>
public class StoreConfigurationImpl<K,V>
| Constructor Summary | |
|---|---|
StoreConfigurationImpl(CacheConfiguration<K,V> cacheConfig,
int orderedEventParallelism,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
|
|
StoreConfigurationImpl(java.lang.Class<K> keyType,
java.lang.Class<V> valueType,
EvictionVeto<? super K,? super V> evictionVeto,
java.lang.ClassLoader classLoader,
Expiry<? super K,? super V> expiry,
ResourcePools resourcePools,
int orderedEventParallelism,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
|
|
| Method Summary | |
|---|---|
java.lang.ClassLoader |
getClassLoader()
The Classloader for this store. |
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()
The serializer for key instances |
java.lang.Class<K> |
getKeyType()
The type of the keys that a Store will hold. |
int |
getOrderedEventParallelism()
The number of parallel queues used when doing ordered events |
ResourcePools |
getResourcePools()
The resource pools this store can make use of |
Serializer<V> |
getValueSerializer()
The serializer for value instances |
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,
int orderedEventParallelism,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
public StoreConfigurationImpl(java.lang.Class<K> keyType,
java.lang.Class<V> valueType,
EvictionVeto<? super K,? super V> evictionVeto,
java.lang.ClassLoader classLoader,
Expiry<? super K,? super V> expiry,
ResourcePools resourcePools,
int orderedEventParallelism,
Serializer<K> keySerializer,
Serializer<V> valueSerializer)
| Method Detail |
|---|
public java.lang.Class<K> getKeyType()
Store.Configurationtype of the keys that a Store will hold.
getKeyType in interface Store.Configuration<K,V>public java.lang.Class<V> getValueType()
Store.Configurationtype 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 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()
Store.Configuration
getKeySerializer in interface Store.Configuration<K,V>public Serializer<V> getValueSerializer()
Store.Configuration
getValueSerializer in interface Store.Configuration<K,V>public int getOrderedEventParallelism()
Store.Configuration
getOrderedEventParallelism in interface Store.Configuration<K,V>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||