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()
SerializerFoundation<?>
getSerializerFoundation()
Gets the serializer foundation.Class<V>
getValueType()
int
hashCode()
String
toString()
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, 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.
-
getSerializerFoundation
Description copied from interface:CacheConfiguration
Gets the serializer foundation.- Specified by:
getSerializerFoundation
in interfaceCacheConfiguration<K,V>
- Returns:
- the foundation which the serializer will be based on
-
hashCode
public int hashCode() -
equals
-
toString
-