public class TrackingInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TrackingInfo.TrackingFlag
CLIENT TRACKINGINFO flags
|
Constructor and Description |
---|
TrackingInfo(Set<TrackingInfo.TrackingFlag> flags,
long redirect,
List<String> prefixes)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<TrackingInfo.TrackingFlag> |
getFlags() |
List<String> |
getPrefixes() |
long |
getRedirect() |
int |
hashCode() |
String |
toString() |
public TrackingInfo(Set<TrackingInfo.TrackingFlag> flags, long redirect, List<String> prefixes)
flags
- a Set
of TrackingInfo.TrackingFlag
s that the command returnedredirect
- the client ID used for notification redirection, -1 when noneprefixes
- a List
of key prefixes for which notifications are sent to the clientTrackingInfo.TrackingFlag
public Set<TrackingInfo.TrackingFlag> getFlags()
TrackingInfo.TrackingFlag
s currently enabled on the client connectionpublic long getRedirect()
public List<String> getPrefixes()
List
of key prefixes for which notifications are sent to the clientCopyright © 2024 lettuce.io. All rights reserved.