Class FixedRedisMessagePool
java.lang.Object
io.netty.handler.codec.redis.FixedRedisMessagePool
- All Implemented Interfaces:
RedisMessagePool
A default fixed redis message pool.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FixedRedisMessagePoolA shared object forFixedRedisMessagePool. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getByteBufOfInteger(long value) Returnsbyte[]for givenmsg.ReturnsErrorRedisMessagefor givencontent.ReturnsErrorRedisMessagefor the givenFixedRedisMessagePool.RedisErrorKeyornullif it does not exist.ReturnsErrorRedisMessagefor givencontent.getInteger(long value) ReturnsIntegerRedisMessagefor givenvalue.getInteger(ByteBuf content) ReturnsIntegerRedisMessagefor givencontent.getSimpleString(ByteBuf content) ReturnsSimpleStringRedisMessagefor givencontent.ReturnsSimpleStringRedisMessagefor the givenFixedRedisMessagePool.RedisReplyKeyornullif it does not exist.getSimpleString(String content) ReturnsSimpleStringRedisMessagefor givencontent.
-
Field Details
-
INSTANCE
A shared object forFixedRedisMessagePool.
-
-
Method Details
-
getSimpleString
Description copied from interface:RedisMessagePool- Specified by:
getSimpleStringin interfaceRedisMessagePool
-
getSimpleString
ReturnsSimpleStringRedisMessagefor the givenFixedRedisMessagePool.RedisReplyKeyornullif it does not exist. -
getSimpleString
Description copied from interface:RedisMessagePool- Specified by:
getSimpleStringin interfaceRedisMessagePool
-
getError
Description copied from interface:RedisMessagePool- Specified by:
getErrorin interfaceRedisMessagePool
-
getError
ReturnsErrorRedisMessagefor the givenFixedRedisMessagePool.RedisErrorKeyornullif it does not exist. -
getError
Description copied from interface:RedisMessagePool- Specified by:
getErrorin interfaceRedisMessagePool
-
getInteger
Description copied from interface:RedisMessagePool- Specified by:
getIntegerin interfaceRedisMessagePool
-
getInteger
Description copied from interface:RedisMessagePool- Specified by:
getIntegerin interfaceRedisMessagePool
-
getByteBufOfInteger
public byte[] getByteBufOfInteger(long value) Description copied from interface:RedisMessagePoolReturnsbyte[]for givenmsg. Returnsnullit does not exist.- Specified by:
getByteBufOfIntegerin interfaceRedisMessagePool
-