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

java.lang.Object
  extended by org.terracotta.offheapstore.storage.portability.ByteArrayPortability
      extended by org.terracotta.offheapstore.disk.storage.portability.PersistentByteArrayPortability
All Implemented Interfaces:
Persistent, PersistentPortability<byte[]>, Portability<byte[]>

public class PersistentByteArrayPortability
extends ByteArrayPortability
implements PersistentPortability<byte[]>

Author:
Chris Dennis

Field Summary
static PersistentByteArrayPortability INSTANCE
           
 
Method Summary
 void bootstrap(ObjectInput input)
           
 void close()
           
 void flush()
           
 void persist(ObjectOutput output)
           
 
Methods inherited from class org.terracotta.offheapstore.storage.portability.ByteArrayPortability
decode, encode, equals
 
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

INSTANCE

public static final PersistentByteArrayPortability INSTANCE
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.