GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Use
  • Tree
  • Deprecated
  • Index
  • Search
  • Help
  • io.netty.handler.codec.memcache.binary
  • BinaryMemcacheRequest

This view

  • Original page
  • New address

GeezerVison is showing netty.io — BinaryMemcacheRequest (Netty API Reference (4.1.141.Final))

Interface BinaryMemcacheRequest

All Superinterfaces:
BinaryMemcacheMessage, DecoderResultProvider, MemcacheMessage, MemcacheObject, ReferenceCounted
All Known Subinterfaces:
FullBinaryMemcacheRequest
All Known Implementing Classes:
DefaultBinaryMemcacheRequest, DefaultFullBinaryMemcacheRequest

@UnstableApi public interface BinaryMemcacheRequest extends BinaryMemcacheMessage
Represents a full BinaryMemcacheRequest, which contains the header and optional key and extras.
  • Method Summary

    Modifier and Type
    Method
    Description
    short
    reserved()
    Returns the reserved field value.
    BinaryMemcacheRequest
    retain()
    Increases the reference count by 1.
    BinaryMemcacheRequest
    retain(int increment)
    Increases the reference count by the specified increment.
    BinaryMemcacheRequest
    setReserved(short reserved)
    Sets the reserved field value.
    BinaryMemcacheRequest
    touch()
    Records the current access location of this object for debugging purposes.
    BinaryMemcacheRequest
    touch(Object hint)
    Records the current access location of this object with an additional arbitrary information for debugging purposes.

    Methods inherited from interface BinaryMemcacheMessage

    cas, dataType, extras, extrasLength, key, keyLength, magic, opaque, opcode, setCas, setDataType, setExtras, setKey, setMagic, setOpaque, setOpcode, setTotalBodyLength, totalBodyLength
    Modifier and Type
    Method
    Description
    long
    cas()
    Returns the CAS identifier.
    byte
    dataType()
    Returns the data type of the message.
    ByteBuf
    extras()
    Returns a ByteBuf representation of the optional extras.
    byte
    extrasLength()
    Return the extras length of the message.
    ByteBuf
    key()
    Returns the optional key of the document.
    short
    keyLength()
    Returns the key length of the message.
    byte
    magic()
    Returns the magic byte for the message.
    int
    opaque()
    Returns the opaque value.
    byte
    opcode()
    Returns the opcode for the message.
    BinaryMemcacheMessage
    setCas(long cas)
    Sets the CAS identifier.
    BinaryMemcacheMessage
    setDataType(byte dataType)
    Sets the data type of the message.
    BinaryMemcacheMessage
    setExtras(ByteBuf extras)
    Sets the extras buffer on the message.
    BinaryMemcacheMessage
    setKey(ByteBuf key)
    Sets the key of the document.
    BinaryMemcacheMessage
    setMagic(byte magic)
    Sets the magic byte.
    BinaryMemcacheMessage
    setOpaque(int opaque)
    Sets the opaque value.
    BinaryMemcacheMessage
    setOpcode(byte code)
    Sets the opcode for the message.
    BinaryMemcacheMessage
    setTotalBodyLength(int totalBodyLength)
    Sets the total body length.
    int
    totalBodyLength()
    Returns the total body length.

    Methods inherited from interface DecoderResultProvider

    decoderResult, setDecoderResult
    Modifier and Type
    Method
    Description
    DecoderResult
    decoderResult()
    Returns the result of decoding this object.
    void
    setDecoderResult(DecoderResult result)
    Updates the result of decoding this object.

    Methods inherited from interface ReferenceCounted

    refCnt, release, release
    Modifier and Type
    Method
    Description
    int
    refCnt()
    Returns the reference count of this object.
    boolean
    release()
    Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0.
    boolean
    release(int decrement)
    Decreases the reference count by the specified decrement and deallocates this object if the reference count reaches at 0.
  • Method Details

    • reserved

      short reserved()
      Returns the reserved field value.
      Returns:
      the reserved field value.
    • setReserved

      BinaryMemcacheRequest setReserved(short reserved)
      Sets the reserved field value.
      Parameters:
      reserved - the reserved field value.
    • retain

      BinaryMemcacheRequest retain()
      Description copied from interface: BinaryMemcacheMessage
      Increases the reference count by 1.
      Specified by:
      retain in interface BinaryMemcacheMessage
      Specified by:
      retain in interface MemcacheMessage
      Specified by:
      retain in interface ReferenceCounted
    • retain

      BinaryMemcacheRequest retain(int increment)
      Description copied from interface: BinaryMemcacheMessage
      Increases the reference count by the specified increment.
      Specified by:
      retain in interface BinaryMemcacheMessage
      Specified by:
      retain in interface MemcacheMessage
      Specified by:
      retain in interface ReferenceCounted
    • touch

      BinaryMemcacheRequest touch()
      Description copied from interface: ReferenceCounted
      Records the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector. This method is a shortcut to touch(null).
      Specified by:
      touch in interface BinaryMemcacheMessage
      Specified by:
      touch in interface MemcacheMessage
      Specified by:
      touch in interface ReferenceCounted
    • touch

      BinaryMemcacheRequest touch(Object hint)
      Description copied from interface: ReferenceCounted
      Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector.
      Specified by:
      touch in interface BinaryMemcacheMessage
      Specified by:
      touch in interface MemcacheMessage
      Specified by:
      touch in interface ReferenceCounted
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.