K - Key type.V - Value type.T - Result type.public class PubSubOutput<K,V,T> extends CommandOutput<K,V,T>
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubOutput.Type |
codec, error, output| Constructor and Description |
|---|
PubSubOutput(RedisCodec<K,V> codec) |
| Modifier and Type | Method and Description |
|---|---|
K |
channel() |
long |
count() |
K |
pattern() |
void |
set(ByteBuffer bytes)
Set the command output to a sequence of bytes, or null.
|
void |
set(long integer)
Set the command output to a 64-bit signed integer.
|
PubSubOutput.Type |
type() |
public PubSubOutput(RedisCodec<K,V> codec)
public PubSubOutput.Type type()
public K channel()
public K pattern()
public long count()
public void set(ByteBuffer bytes)
CommandOutputCommandOutput implementations must override this
method unless they only receive an integer value which cannot be null.set in class CommandOutput<K,V,T>bytes - The command output, or null.public void set(long integer)
CommandOutputCommandOutput implementations must override this
method unless they only receive a byte array value.set in class CommandOutput<K,V,T>integer - The command output.Copyright © 2021 lettuce.io. All rights reserved.