Class IntegerRedisMessage

java.lang.Object
io.netty.handler.codec.redis.IntegerRedisMessage
All Implemented Interfaces:
RedisMessage

@UnstableApi public final class IntegerRedisMessage extends java.lang.Object implements RedisMessage
Integers of RESP.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    IntegerRedisMessage(long value)
    Creates a IntegerRedisMessage for the given content.
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
     
    long
    Get long value of this IntegerRedisMessage.

    Methods inherited from class java.lang.Object

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

    • value

      private final long value
  • Constructor Details

    • IntegerRedisMessage

      public IntegerRedisMessage(long value)
      Creates a IntegerRedisMessage for the given content.
      Parameters:
      value - the message content.
  • Method Details

    • value

      public long value()
      Get long value of this IntegerRedisMessage.
      Returns:
      long value
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object