org.terracotta.offheapstore.disk.storage
Class PersistentIntegerStorageEngine
java.lang.Object
org.terracotta.offheapstore.storage.IntegerStorageEngine
org.terracotta.offheapstore.disk.storage.PersistentIntegerStorageEngine
- All Implemented Interfaces:
- Persistent, PersistentHalfStorageEngine<Integer>, HalfStorageEngine<Integer>
public class PersistentIntegerStorageEngine
- extends IntegerStorageEngine
- implements PersistentHalfStorageEngine<Integer>
- Author:
- Chris Dennis
| 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 |
PersistentIntegerStorageEngine
public PersistentIntegerStorageEngine()
createPersistentFactory
public static Factory<PersistentIntegerStorageEngine> createPersistentFactory()
flush
public void flush()
throws IOException
- Specified by:
flush in interface Persistent
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Persistent
- Throws:
IOException
persist
public void persist(ObjectOutput output)
throws IOException
- Specified by:
persist in interface Persistent
- Throws:
IOException
bootstrap
public void bootstrap(ObjectInput input)
throws IOException
- Specified by:
bootstrap in interface Persistent
- Throws:
IOException
Copyright © 2016. All Rights Reserved.