Package one.microstream.cache.types
Class CacheConfiguration.Default<K,V>
java.lang.Object
javax.cache.configuration.MutableConfiguration<K,V>
one.microstream.cache.types.CacheConfiguration.Default<K,V>
- All Implemented Interfaces:
Serializable
,javax.cache.configuration.CompleteConfiguration<K,V>
,javax.cache.configuration.Configuration<K,V>
,CacheConfiguration<K,V>
- Enclosing interface:
- CacheConfiguration<K,V>
public static class CacheConfiguration.Default<K,V> extends javax.cache.configuration.MutableConfiguration<K,V> implements CacheConfiguration<K,V>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.cache.types.CacheConfiguration
CacheConfiguration.Builder<K,V>, CacheConfiguration.Default<K,V>
-
Field Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Iterable<javax.cache.configuration.CacheEntryListenerConfiguration<K,V>>
getCacheEntryListenerConfigurations()
javax.cache.configuration.Factory<EvictionManager<K,V>>
getEvictionManagerFactory()
Gets theFactory
for theEvictionManager
, if any.Class<K>
getKeyType()
Predicate<? super Field>
getSerializerFieldPredicate()
Class<V>
getValueType()
int
hashCode()
Methods inherited from class javax.cache.configuration.MutableConfiguration
addCacheEntryListenerConfiguration, getCacheLoaderFactory, getCacheWriterFactory, getExpiryPolicyFactory, isManagementEnabled, isReadThrough, isStatisticsEnabled, isStoreByValue, isWriteThrough, removeCacheEntryListenerConfiguration, setCacheLoaderFactory, setCacheWriterFactory, setExpiryPolicyFactory, setManagementEnabled, setReadThrough, setStatisticsEnabled, setStoreByValue, setTypes, setWriteThrough
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getKeyType
-
getValueType
-
getCacheEntryListenerConfigurations
-
getEvictionManagerFactory
Description copied from interface:CacheConfiguration
Gets theFactory
for theEvictionManager
, if any.- Specified by:
getEvictionManagerFactory
in interfaceCacheConfiguration<K,V>
- Returns:
- the
Factory
for theEvictionManager
or null if none has been set.
-
getSerializerFieldPredicate
Description copied from interface:CacheConfiguration
- Specified by:
getSerializerFieldPredicate
in interfaceCacheConfiguration<K,V>
- Returns:
- the
Field
Predicate
for the Serializer, or null if none has been set
-
hashCode
public int hashCode() -
equals
-