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 -
Constructor Summary
ConstructorsConstructorDescriptionIntegerRedisMessage(long value) Creates aIntegerRedisMessagefor the givencontent. -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.StringtoString()longvalue()Get long value of thisIntegerRedisMessage.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 aIntegerRedisMessagefor the givencontent.- Parameters:
value- the message content.
-
-
Method Details
-
value
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-