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.redis
  • ArrayRedisMessage

This view

  • Original page
  • New address

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

Class ArrayRedisMessage

java.lang.Object
io.netty.util.AbstractReferenceCounted
io.netty.handler.codec.redis.ArrayRedisMessage
All Implemented Interfaces:
RedisMessage, ReferenceCounted

@UnstableApi public class ArrayRedisMessage extends AbstractReferenceCounted implements RedisMessage
Arrays of RESP.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ArrayRedisMessage
    EMPTY_INSTANCE
    A predefined empty array instance for ArrayRedisMessage.
    static final ArrayRedisMessage
    NULL_INSTANCE
    A predefined null array instance for ArrayRedisMessage.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArrayRedisMessage(List<RedisMessage> children)
    Creates a ArrayRedisMessage for the given content.
  • Method Summary

    Modifier and Type
    Method
    Description
    final List<RedisMessage>
    children()
    Get children of this Arrays.
    protected void
    deallocate()
    Called once AbstractReferenceCounted.refCnt() is equals 0.
    boolean
    isNull()
    Returns whether the content of this message is null.
    String
    toString()
     
    ArrayRedisMessage
    touch(Object hint)
    Records the current access location of this object with an additional arbitrary information for debugging purposes.

    Methods inherited from class AbstractReferenceCounted

    refCnt, release, release, retain, retain, setRefCnt, touch
    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.
    ReferenceCounted
    retain()
    Increases the reference count by 1.
    ReferenceCounted
    retain(int increment)
    Increases the reference count by the specified increment.
    protected final void
    setRefCnt(int refCnt)
    An unsafe operation intended for use by a subclass that sets the reference count of the buffer directly
    ReferenceCounted
    touch()
    Records the current access location of this object for debugging purposes.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • NULL_INSTANCE

      public static final ArrayRedisMessage NULL_INSTANCE
      A predefined null array instance for ArrayRedisMessage.
    • EMPTY_INSTANCE

      public static final ArrayRedisMessage EMPTY_INSTANCE
      A predefined empty array instance for ArrayRedisMessage.
  • Constructor Details

    • ArrayRedisMessage

      public ArrayRedisMessage(List<RedisMessage> children)
      Creates a ArrayRedisMessage for the given content.
      Parameters:
      children - the children.
  • Method Details

    • children

      public final List<RedisMessage> children()
      Get children of this Arrays. It can be null or empty.
      Returns:
      list of RedisMessages.
    • isNull

      public boolean isNull()
      Returns whether the content of this message is null.
      Returns:
      indicates whether the content of this message is null.
    • deallocate

      protected void deallocate()
      Description copied from class: AbstractReferenceCounted
      Called once AbstractReferenceCounted.refCnt() is equals 0.
      Specified by:
      deallocate in class AbstractReferenceCounted
    • touch

      public ArrayRedisMessage 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 ReferenceCounted
    • toString

      public String toString()
      Overrides:
      toString in class Object
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.