public class Consumer<K> extends Object
RedisCodec| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static <K> Consumer<K> |
from(K group,
K name)
Create a new consumer.
|
K |
getGroup() |
K |
getName() |
int |
hashCode() |
String |
toString() |
public static <K> Consumer<K> from(K group, K name)
group - name of the consumer group, must not be null or empty.name - name of the consumer, must not be null or empty.Consumer object.public K getGroup()
public K getName()
Copyright © 2021 lettuce.io. All rights reserved.