com.lambdaworks.redis.output
Class DoubleOutput<K,V>

java.lang.Object
  extended by com.lambdaworks.redis.protocol.CommandOutput<K,V,Double>
      extended by com.lambdaworks.redis.output.DoubleOutput<K,V>

public class DoubleOutput<K,V>
extends CommandOutput<K,V,Double>

Double output, may be null.

Author:
Will Glozer

Field Summary
 
Fields inherited from class com.lambdaworks.redis.protocol.CommandOutput
codec, error, output
 
Constructor Summary
DoubleOutput(RedisCodec<K,V> codec)
           
 
Method Summary
 void set(ByteBuffer bytes)
          Set the command output to a sequence of bytes, or null.
 
Methods inherited from class com.lambdaworks.redis.protocol.CommandOutput
complete, decodeAscii, get, getError, hasError, set, setError, setError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleOutput

public DoubleOutput(RedisCodec<K,V> codec)
Method Detail

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,Double>
Parameters:
bytes - The command output, or null.


Copyright © 2013. All Rights Reserved.