org.terracotta.offheapstore.disk.storage
Class PersistentIntegerStorageEngine

java.lang.Object
  extended by org.terracotta.offheapstore.storage.IntegerStorageEngine
      extended by 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

Constructor Summary
PersistentIntegerStorageEngine()
           
 
Method Summary
 void bootstrap(ObjectInput input)
           
 void close()
           
static Factory<PersistentIntegerStorageEngine> createPersistentFactory()
           
 void flush()
           
 void persist(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
 

Constructor Detail

PersistentIntegerStorageEngine

public PersistentIntegerStorageEngine()
Method Detail

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 © 2015. All Rights Reserved.