public enum RemoteType extends Enum<RemoteType>
| Enum Constant and Description |
|---|
CLUSTER
A remote cache is either a local cache or a cluster cache
|
LOCAL
A remote cache is either a local cache or a cluster cache
|
| Modifier and Type | Method and Description |
|---|---|
static RemoteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteType LOCAL
public static final RemoteType CLUSTER
public static RemoteType[] values()
for (RemoteType c : RemoteType.values()) System.out.println(c);
public static RemoteType 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 © 2002–2022 The Apache Software Foundation. All rights reserved.