Class ReplicationOutputStream

    • Constructor Detail

      • ReplicationOutputStream

        public ReplicationOutputStream()
    • Method Detail

      • mark

        public int mark()
      • reWrite

        public void reWrite​(int mark,
                            byte[] data)
      • writeLengthPrefixedBytes

        public void writeLengthPrefixedBytes​(byte[] data)
                                      throws IOException
        Throws:
        IOException
      • moveTo

        public int moveTo​(int pos)
      • backToAppendMode

        public void backToAppendMode()
        Note: This must be used only after a call to moveTo