public static enum CacheUtil.ServerType extends Enum<CacheUtil.ServerType>
| Modifier and Type | Method and Description |
|---|---|
static CacheUtil.ServerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheUtil.ServerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheUtil.ServerType BROKER
public static final CacheUtil.ServerType DATA
public static CacheUtil.ServerType[] values()
for (CacheUtil.ServerType c : CacheUtil.ServerType.values()) System.out.println(c);
public static CacheUtil.ServerType 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 © 2011–2020 The Apache Software Foundation. All rights reserved.