Package io.netty.handler.codec.redis
Class IntegerRedisMessage
java.lang.Object
io.netty.handler.codec.redis.IntegerRedisMessage
- All Implemented Interfaces:
RedisMessage
Integers of RESP.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIntegerRedisMessage
(long value) Creates aIntegerRedisMessage
for the givencontent
. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
long
value()
Get long value of thisIntegerRedisMessage
.
-
Field Details
-
value
private final long value
-
-
Constructor Details
-
IntegerRedisMessage
public IntegerRedisMessage(long value) Creates aIntegerRedisMessage
for the givencontent
.- Parameters:
value
- the message content.
-
-
Method Details
-
value
public long value()Get long value of thisIntegerRedisMessage
.- Returns:
- long value
-
toString
-