Class SerializableStorageEngine
- java.lang.Object
-
- org.terracotta.offheapstore.storage.listener.AbstractListenableStorageEngine<K,V>
-
- org.terracotta.offheapstore.storage.PortabilityBasedStorageEngine<K,V>
-
- org.terracotta.offheapstore.storage.OffHeapBufferStorageEngine<java.io.Serializable,java.io.Serializable>
-
- org.terracotta.offheapstore.storage.SerializableStorageEngine
-
- All Implemented Interfaces:
OffHeapStorageArea.Owner,BinaryStorageEngine,ListenableStorageEngine<java.io.Serializable,java.io.Serializable>,StorageEngine<java.io.Serializable,java.io.Serializable>
public class SerializableStorageEngine extends OffHeapBufferStorageEngine<java.io.Serializable,java.io.Serializable>
AOffHeapBufferStorageEnginesubclass 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, storageArea
-
Fields inherited from class org.terracotta.offheapstore.storage.PortabilityBasedStorageEngine
keyPortability, valuePortability
-
-
Constructor Summary
Constructors Modifier Constructor Description SerializableStorageEngine(PointerSize width, PageSource source, int pageSize)protectedSerializableStorageEngine(PointerSize width, PageSource source, int pageSize, Portability<java.io.Serializable> portability)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Factory<SerializableStorageEngine>createFactory(PointerSize width, PageSource source, int pageSize)static Factory<SerializableStorageEngine>createFactory(PointerSize width, PageSource source, int pageSize, Portability<java.io.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, writeMappingBuffersGathering
-
Methods inherited from class org.terracotta.offheapstore.storage.PortabilityBasedStorageEngine
attachedMapping, clear, equalsBinaryKey, equalsKey, equalsValue, freeMapping, invalidateCache, readBinaryKey, readBinaryValue, readKey, readValue, writeBinaryMapping, writeBinaryMapping, writeMapping
-
Methods inherited from class org.terracotta.offheapstore.storage.listener.AbstractListenableStorageEngine
fireCleared, fireCopied, fireFreed, fireRecovered, fireWritten, hasListeners, hasRecoveryListeners, registerListener
-
-
-
-
Constructor Detail
-
SerializableStorageEngine
public SerializableStorageEngine(PointerSize width, PageSource source, int pageSize)
-
SerializableStorageEngine
protected SerializableStorageEngine(PointerSize width, PageSource source, int pageSize, Portability<java.io.Serializable> portability)
-
-
Method Detail
-
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<java.io.Serializable> portability)
-
-