Class CachedBufferAllocator.CachedIoBuffer

    • Field Detail

      • ownerThread

        java.lang.Thread ownerThread
      • origBuffer

        java.nio.ByteBuffer origBuffer
    • Constructor Detail

      • CachedIoBuffer

        public CachedIoBuffer​(java.nio.ByteBuffer origBuffer)
    • Method Detail

      • putInt

        public void putInt​(int i)
        Specified by:
        putInt in interface IoBuffer
      • putShort

        public void putShort​(short s)
        Specified by:
        putShort in interface IoBuffer
      • order

        public java.nio.ByteOrder order()
        Specified by:
        order in interface IoBuffer
      • isDirect

        public boolean isDirect()
        Specified by:
        isDirect in interface IoBuffer
      • order

        public void order​(java.nio.ByteOrder byteOrder)
        Specified by:
        order in interface IoBuffer
      • putLong

        public void putLong​(long l)
        Specified by:
        putLong in interface IoBuffer
      • free

        public final void free()
        Specified by:
        free in interface IoBuffer
      • getByteBuffers

        public final java.nio.ByteBuffer[] getByteBuffers()
        Specified by:
        getByteBuffers in interface IoBuffer
      • put

        public final void put​(byte[] bytes)
        Specified by:
        put in interface IoBuffer
      • capacity

        public final int capacity()
        Specified by:
        capacity in interface IoBuffer
      • clear

        public final void clear()
        Specified by:
        clear in interface IoBuffer
      • reset

        public final void reset()
        Specified by:
        reset in interface IoBuffer
      • remaining

        public final int remaining()
        Specified by:
        remaining in interface IoBuffer
      • position

        public final int position()
        Specified by:
        position in interface IoBuffer
      • mark

        public final void mark()
        Specified by:
        mark in interface IoBuffer
      • limit

        public final int limit()
        Specified by:
        limit in interface IoBuffer
      • hasRemaining

        public final boolean hasRemaining()
        Specified by:
        hasRemaining in interface IoBuffer
      • flip

        public final void flip()
        Specified by:
        flip in interface IoBuffer
      • put

        public final void put​(byte b)
        Specified by:
        put in interface IoBuffer
      • put

        public final void put​(java.nio.ByteBuffer buff)
        Specified by:
        put in interface IoBuffer
      • getByteBuffer

        public final java.nio.ByteBuffer getByteBuffer()
        Specified by:
        getByteBuffer in interface IoBuffer
      • limit

        public final void limit​(int limit)
        Specified by:
        limit in interface IoBuffer
      • position

        public final void position​(int pos)
        Specified by:
        position in interface IoBuffer