Class TransactionStorage.TransactionOutput

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    Direct Known Subclasses:
    FileTransactionStorage.FileOutput
    Enclosing class:
    TransactionStorage

    public abstract static class TransactionStorage.TransactionOutput
    extends java.io.OutputStream
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract long getPos()  
      abstract void sync()
      Sync output to permanant storage.
      • Methods inherited from class java.io.OutputStream

        close, flush, nullOutputStream, write, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransactionOutput

        public TransactionOutput()
    • Method Detail

      • sync

        public abstract void sync()
                           throws java.io.IOException
        Sync output to permanant storage.
        Throws:
        java.io.IOException
      • getPos

        public abstract long getPos()
                             throws java.io.IOException
        Throws:
        java.io.IOException