Class PersistentSerializablePortability
- java.lang.Object
-
- org.terracotta.offheapstore.storage.portability.SerializablePortability
-
- org.terracotta.offheapstore.disk.storage.portability.PersistentSerializablePortability
-
- All Implemented Interfaces:
Persistent,PersistentPortability<java.io.Serializable>,Portability<java.io.Serializable>
public class PersistentSerializablePortability extends SerializablePortability implements PersistentPortability<java.io.Serializable>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.terracotta.offheapstore.storage.portability.SerializablePortability
SerializablePortability.SerializableDataKey
-
-
Field Summary
Fields Modifier and Type Field Description private static intMAGIC-
Fields inherited from class org.terracotta.offheapstore.storage.portability.SerializablePortability
lookup, nextStreamIndex
-
-
Constructor Summary
Constructors Constructor Description PersistentSerializablePortability()PersistentSerializablePortability(java.lang.ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbootstrap(java.io.ObjectInput input)voidclose()voidflush()voidpersist(java.io.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
-
-
-
-
Field Detail
-
MAGIC
private static final int MAGIC
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-