@UnstableApi public final class FixedRedisMessagePool extends Object implements RedisMessagePool
| Modifier and Type | Field and Description |
|---|---|
static FixedRedisMessagePool |
INSTANCE
A shared object for
FixedRedisMessagePool. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteBufOfInteger(long value)
Returns
byte[] for given msg. |
ErrorRedisMessage |
getError(ByteBuf content)
Returns
ErrorRedisMessage for given content. |
ErrorRedisMessage |
getError(String content)
Returns
ErrorRedisMessage for given content. |
IntegerRedisMessage |
getInteger(ByteBuf content)
Returns
IntegerRedisMessage for given content. |
IntegerRedisMessage |
getInteger(long value)
Returns
IntegerRedisMessage for given value. |
SimpleStringRedisMessage |
getSimpleString(ByteBuf content)
Returns
SimpleStringRedisMessage for given content. |
SimpleStringRedisMessage |
getSimpleString(String content)
Returns
SimpleStringRedisMessage for given content. |
public static final FixedRedisMessagePool INSTANCE
FixedRedisMessagePool.public SimpleStringRedisMessage getSimpleString(String content)
RedisMessagePoolgetSimpleString in interface RedisMessagePoolpublic SimpleStringRedisMessage getSimpleString(ByteBuf content)
RedisMessagePoolgetSimpleString in interface RedisMessagePoolpublic ErrorRedisMessage getError(String content)
RedisMessagePoolgetError in interface RedisMessagePoolpublic ErrorRedisMessage getError(ByteBuf content)
RedisMessagePoolgetError in interface RedisMessagePoolpublic IntegerRedisMessage getInteger(long value)
RedisMessagePoolgetInteger in interface RedisMessagePoolpublic IntegerRedisMessage getInteger(ByteBuf content)
RedisMessagePoolgetInteger in interface RedisMessagePoolpublic byte[] getByteBufOfInteger(long value)
RedisMessagePoolbyte[] for given msg. Returns null it does not exist.getByteBufOfInteger in interface RedisMessagePoolCopyright © 2008–2017 The Netty Project. All rights reserved.