public enum CacheRequestResult extends Enum<CacheRequestResult>
Enum Constant and Description |
---|
NO_DATA
There was no data in the cache reply.
|
OK
Cached data was returned in a cache reply, or
the cache request was fulfilled by live data.
|
SUSPECT_DATA
There was suspect data in the cache reply.
|
Modifier and Type | Method and Description |
---|---|
static CacheRequestResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheRequestResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheRequestResult OK
public static final CacheRequestResult NO_DATA
public static final CacheRequestResult SUSPECT_DATA
public static CacheRequestResult[] values()
for (CacheRequestResult c : CacheRequestResult.values()) System.out.println(c);
public static CacheRequestResult 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 nullCopyright 2004-2024 Solace Corporation. All rights reserved.