Class SimpleIoBuffer

java.lang.Object
net.rubyeye.xmemcached.buffer.SimpleIoBuffer
All Implemented Interfaces:
IoBuffer

@Deprecated public class SimpleIoBuffer extends Object implements IoBuffer
Deprecated.
  • Field Details

    • origBuffer

      protected ByteBuffer origBuffer
      Deprecated.
  • Constructor Details

    • SimpleIoBuffer

      public SimpleIoBuffer(ByteBuffer origBuffer)
      Deprecated.
  • Method Details

    • free

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

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

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

      public final int capacity()
      Deprecated.
      Specified by:
      capacity in interface IoBuffer
    • putInt

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

      public void putShort(short s)
      Deprecated.
      Specified by:
      putShort in interface IoBuffer
    • clear

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

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

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

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

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

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

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

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

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

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

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

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

      public final void position(int pos)
      Deprecated.
      Specified by:
      position in interface IoBuffer
    • order

      public void order(ByteOrder byteOrder)
      Deprecated.
      Specified by:
      order in interface IoBuffer
    • isDirect

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

      public ByteOrder order()
      Deprecated.
      Specified by:
      order in interface IoBuffer
    • putLong

      public void putLong(long l)
      Deprecated.
      Specified by:
      putLong in interface IoBuffer