public static enum CacheUsage.CacheStatus extends Enum<CacheUsage.CacheStatus>
| Enum Constant and Description |
|---|
CACHE_NOT_USED |
CAN_CACHE_QUERY_RESULTS |
QUERY_USING_CACHE |
| Modifier and Type | Method and Description |
|---|---|
static CacheUsage.CacheStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheUsage.CacheStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheUsage.CacheStatus CACHE_NOT_USED
public static final CacheUsage.CacheStatus QUERY_USING_CACHE
public static final CacheUsage.CacheStatus CAN_CACHE_QUERY_RESULTS
public static CacheUsage.CacheStatus[] values()
for (CacheUsage.CacheStatus c : CacheUsage.CacheStatus.values()) System.out.println(c);
public static CacheUsage.CacheStatus 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 © 2019 The Apache Software Foundation. All Rights Reserved.