Class SerializableStorageEngine
java.lang.Object
org.terracotta.offheapstore.storage.listener.AbstractListenableStorageEngine<Serializable,Serializable>
org.terracotta.offheapstore.storage.PortabilityBasedStorageEngine<Serializable,Serializable>
org.terracotta.offheapstore.storage.OffHeapBufferStorageEngine<Serializable,Serializable>
org.terracotta.offheapstore.storage.SerializableStorageEngine
- All Implemented Interfaces:
OffHeapStorageArea.Owner,BinaryStorageEngine,ListenableStorageEngine<Serializable,,Serializable> StorageEngine<Serializable,Serializable>
public class SerializableStorageEngine
extends OffHeapBufferStorageEngine<Serializable,Serializable>
A
OffHeapBufferStorageEngine subclass using Java serialization for
portability.-
Nested Class Summary
Nested classes/interfaces inherited from class org.terracotta.offheapstore.storage.PortabilityBasedStorageEngine
PortabilityBasedStorageEngine.CachedEncode<K,V> Nested classes/interfaces inherited from interface org.terracotta.offheapstore.storage.StorageEngine
StorageEngine.Owner -
Field Summary
Fields inherited from class org.terracotta.offheapstore.storage.OffHeapBufferStorageEngine
owner, storageAreaFields inherited from class org.terracotta.offheapstore.storage.PortabilityBasedStorageEngine
keyPortability, valuePortability -
Constructor Summary
ConstructorsModifierConstructorDescriptionSerializableStorageEngine(PointerSize width, PageSource source, int pageSize) protectedSerializableStorageEngine(PointerSize width, PageSource source, int pageSize, Portability<Serializable> portability) -
Method Summary
Modifier and TypeMethodDescriptionstatic Factory<SerializableStorageEngine> createFactory(PointerSize width, PageSource source, int pageSize) static Factory<SerializableStorageEngine> createFactory(PointerSize width, PageSource source, int pageSize, Portability<Serializable> portability) Methods inherited from class org.terracotta.offheapstore.storage.OffHeapBufferStorageEngine
bind, clearInternal, createFactory, createFactory, createFactory, createFactory, destroy, evictAtAddress, free, getAllocatedMemory, getDataSize, getKeyWriteContext, getOccupiedMemory, getValueWriteContext, getVitalMemory, isThief, moved, readKeyBuffer, readKeyHash, readValueBuffer, shrink, sizeOf, toString, writeLock, writeMappingBuffers, writeMappingBuffersGatheringMethods inherited from class org.terracotta.offheapstore.storage.PortabilityBasedStorageEngine
attachedMapping, clear, equalsBinaryKey, equalsKey, equalsValue, freeMapping, invalidateCache, readBinaryKey, readBinaryValue, readKey, readValue, writeBinaryMapping, writeBinaryMapping, writeMappingMethods inherited from class org.terracotta.offheapstore.storage.listener.AbstractListenableStorageEngine
fireCleared, fireCopied, fireFreed, fireRecovered, fireWritten, hasListeners, hasRecoveryListeners, registerListener
-
Constructor Details
-
SerializableStorageEngine
-
SerializableStorageEngine
protected SerializableStorageEngine(PointerSize width, PageSource source, int pageSize, Portability<Serializable> portability)
-
-
Method Details
-
createFactory
public static Factory<SerializableStorageEngine> createFactory(PointerSize width, PageSource source, int pageSize) -
createFactory
public static Factory<SerializableStorageEngine> createFactory(PointerSize width, PageSource source, int pageSize, Portability<Serializable> portability)
-