public static enum TrackingInfo.TrackingFlag extends Enum<TrackingInfo.TrackingFlag>
Enum Constant and Description |
---|
BCAST
The client uses broadcasting mode.
|
BROKEN_REDIRECT
The client ID used for redirection isn't valid anymore.
|
CACHING_NO
The next command won't cache keys (exists only together with optout).
|
CACHING_YES
The next command will cache keys (exists only together with optin).
|
NOLOOP
The client isn't notified about keys modified by itself.
|
OFF
The connection isn't using server assisted client side caching.
|
ON
Server assisted client side caching is enabled for the connection.
|
OPTIN
The client does not cache keys by default.
|
OPTOUT
The client caches keys by default.
|
Modifier and Type | Method and Description |
---|---|
static TrackingInfo.TrackingFlag |
from(String flag)
Convert a given
String flag to the corresponding TrackingInfo.TrackingFlag |
static TrackingInfo.TrackingFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrackingInfo.TrackingFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackingInfo.TrackingFlag OFF
public static final TrackingInfo.TrackingFlag ON
public static final TrackingInfo.TrackingFlag BCAST
public static final TrackingInfo.TrackingFlag OPTIN
public static final TrackingInfo.TrackingFlag OPTOUT
public static final TrackingInfo.TrackingFlag CACHING_YES
public static final TrackingInfo.TrackingFlag CACHING_NO
public static final TrackingInfo.TrackingFlag NOLOOP
public static final TrackingInfo.TrackingFlag BROKEN_REDIRECT
public static TrackingInfo.TrackingFlag[] values()
for (TrackingInfo.TrackingFlag c : TrackingInfo.TrackingFlag.values()) System.out.println(c);
public static TrackingInfo.TrackingFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TrackingInfo.TrackingFlag from(String flag)
String
flag to the corresponding TrackingInfo.TrackingFlag
flag
- a String
representation of the flagTrackingInfo.TrackingFlag
or IllegalArgumentException
if unrecognizedCopyright © 2025 lettuce.io. All rights reserved.