public static enum ServerAdmin.ClusterLookup extends Enum<ServerAdmin.ClusterLookup> implements INumberEnum<Integer>
ServerAdmin.getServerClusterMates(String, ClusterLookup)
function.LOOKUP_NOCACHE
value, the call retrieves the input server's
cluster member list through a NameLookup on the input server.LOOKUP_CACHEONLY
value, the call is forced to retrieve
the server's cluster member list from the local client cluster cache.Enum Constant and Description |
---|
LOOKUP_CACHEONLY
Instructs the NSGetServerClusterMates function to only use the cluster name cache and
restricts lookup to the workstation cache
|
LOOKUP_NOCACHE
Instructs the NSGetServerClusterMates function to not use the cluster name cache and forces
a lookup on the target server instead
|
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Integer |
getValue() |
static ServerAdmin.ClusterLookup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerAdmin.ClusterLookup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerAdmin.ClusterLookup LOOKUP_NOCACHE
public static final ServerAdmin.ClusterLookup LOOKUP_CACHEONLY
public static ServerAdmin.ClusterLookup[] values()
for (ServerAdmin.ClusterLookup c : ServerAdmin.ClusterLookup.values()) System.out.println(c);
public static ServerAdmin.ClusterLookup 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 Integer getValue()
getValue
in interface INumberEnum<Integer>
public long getLongValue()
getLongValue
in interface INumberEnum<Integer>
long
Copyright © 2019–2021 HCL. All rights reserved.