org.terracotta.offheapstore.disk.storage.portability
Class PersistentSerializablePortability

java.lang.Object
  extended by org.terracotta.offheapstore.storage.portability.SerializablePortability
      extended by org.terracotta.offheapstore.disk.storage.portability.PersistentSerializablePortability
All Implemented Interfaces:
Persistent, PersistentPortability<Serializable>, Portability<Serializable>

public class PersistentSerializablePortability
extends SerializablePortability
implements PersistentPortability<Serializable>

Author:
Chris Dennis

Nested Class Summary
 
Nested classes/interfaces inherited from class org.terracotta.offheapstore.storage.portability.SerializablePortability
SerializablePortability.SerializableDataKey
 
Field Summary
 
Fields inherited from class org.terracotta.offheapstore.storage.portability.SerializablePortability
lookup, nextStreamIndex
 
Constructor Summary
PersistentSerializablePortability()
           
PersistentSerializablePortability(ClassLoader classLoader)
           
 
Method Summary
 void bootstrap(ObjectInput input)
           
 void close()
           
 void flush()
           
 void persist(ObjectOutput output)
           
 
Methods inherited from class org.terracotta.offheapstore.storage.portability.SerializablePortability
addedMapping, decode, disconnect, encode, equals, getObjectInputStream, getObjectOutputStream, getOrAddMapping
 
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.portability.Portability
decode, encode, equals
 

Constructor Detail

PersistentSerializablePortability

public PersistentSerializablePortability()

PersistentSerializablePortability

public PersistentSerializablePortability(ClassLoader classLoader)
Method Detail

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.