com.lambdaworks.redis.output
Class KeyValueOutput<K,V>
java.lang.Object
com.lambdaworks.redis.protocol.CommandOutput<K,V,KeyValue<K,V>>
com.lambdaworks.redis.output.KeyValueOutput<K,V>
- Type Parameters:
K - Key type.V - Value type.
public class KeyValueOutput<K,V>
- extends CommandOutput<K,V,KeyValue<K,V>>
Key-value pair output.
- Author:
- Will Glozer
|
Method Summary |
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyValueOutput
public KeyValueOutput(RedisCodec<K,V> codec)
set
public void set(ByteBuffer bytes)
- Description copied from class:
CommandOutput
- Set the command output to a sequence of bytes, or null. Concrete
CommandOutput implementations must override this method
unless they only receive an integer value which cannot be null.
- Overrides:
set in class CommandOutput<K,V,KeyValue<K,V>>
- Parameters:
bytes - The command output, or null.
Copyright © 2013. All Rights Reserved.