Interface IWALByteBufferView


  • public interface IWALByteBufferView
    This ByteBuffer view provides blocking writing interface for wal to serialize huge object with limited memory usage. This interface should behave like ByteBuffer and don't guarantee the concurrent safety.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int position()
      Like Buffer.position().
      void put​(byte b)
      Like ByteBuffer.put(byte).
      void put​(byte[] src)
      Like ByteBuffer.put(byte[]).
      void putChar​(char value)
      Like ByteBuffer.putChar(char).
      void putDouble​(double value)
      Like ByteBuffer.putDouble(double).
      void putFloat​(float value)
      Like ByteBuffer.putFloat(float).
      void putInt​(int value)
      Like ByteBuffer.putInt(int).
      void putLong​(long value)
      Like ByteBuffer.putLong(long).
      void putShort​(short value)
      Like ByteBuffer.putShort(short).
    • Method Detail

      • put

        void put​(byte b)
        Like ByteBuffer.put(byte).
      • put

        void put​(byte[] src)
        Like ByteBuffer.put(byte[]).
      • putChar

        void putChar​(char value)
        Like ByteBuffer.putChar(char).
      • putShort

        void putShort​(short value)
        Like ByteBuffer.putShort(short).
      • putInt

        void putInt​(int value)
        Like ByteBuffer.putInt(int).
      • putLong

        void putLong​(long value)
        Like ByteBuffer.putLong(long).
      • putFloat

        void putFloat​(float value)
        Like ByteBuffer.putFloat(float).
      • putDouble

        void putDouble​(double value)
        Like ByteBuffer.putDouble(double).
      • position

        int position()
        Like Buffer.position().