Class PersistentIntegerStorageEngine
- java.lang.Object
-
- org.terracotta.offheapstore.storage.IntegerStorageEngine
-
- org.terracotta.offheapstore.disk.storage.PersistentIntegerStorageEngine
-
- All Implemented Interfaces:
Persistent,PersistentHalfStorageEngine<java.lang.Integer>,HalfStorageEngine<java.lang.Integer>
public class PersistentIntegerStorageEngine extends IntegerStorageEngine implements PersistentHalfStorageEngine<java.lang.Integer>
-
-
Field Summary
Fields Modifier and Type Field Description private static Factory<PersistentIntegerStorageEngine>FACTORYprivate static PersistentIntegerStorageEngineSINGLETON
-
Constructor Summary
Constructors Constructor Description PersistentIntegerStorageEngine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbootstrap(java.io.ObjectInput input)voidclose()static Factory<PersistentIntegerStorageEngine>createPersistentFactory()voidflush()voidpersist(java.io.ObjectOutput output)-
Methods inherited from class org.terracotta.offheapstore.storage.IntegerStorageEngine
bind, clear, createFactory, destroy, equals, free, getAllocatedMemory, getDataSize, getOccupiedMemory, getVitalMemory, instance, invalidateCache, read, shrink, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.terracotta.offheapstore.storage.HalfStorageEngine
bind, clear, destroy, equals, free, getAllocatedMemory, getDataSize, getOccupiedMemory, getVitalMemory, invalidateCache, read, shrink, write
-
-
-
-
Field Detail
-
SINGLETON
private static final PersistentIntegerStorageEngine SINGLETON
-
FACTORY
private static final Factory<PersistentIntegerStorageEngine> FACTORY
-
-
Method Detail
-
createPersistentFactory
public static Factory<PersistentIntegerStorageEngine> createPersistentFactory()
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacePersistent- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacePersistent- Throws:
java.io.IOException
-
persist
public void persist(java.io.ObjectOutput output) throws java.io.IOException- Specified by:
persistin interfacePersistent- Throws:
java.io.IOException
-
bootstrap
public void bootstrap(java.io.ObjectInput input) throws java.io.IOException- Specified by:
bootstrapin interfacePersistent- Throws:
java.io.IOException
-
-