public static enum Forest.HostType extends java.lang.Enum<Forest.HostType>
Enum containing the list of host types a forest can have.
FOREST_HOST - host type indicating the host associated with the forest in the MarkLogic server
REQUEST_HOST - host type indicating the request host with which we have created the client - host on the request header.
ALTERNATE_HOST - host type indicating the alternate host of the forest - the host of the e - node when this forest belongs to an d - node.
OPEN_REPLICA_HOST - host type indicating the replica host associated with the forest in the MarkLogic server
Enum Constant and Description |
---|
ALTERNATE_HOST |
FOREST_HOST |
OPEN_REPLICA_HOST |
REQUEST_HOST |
Modifier and Type | Method and Description |
---|---|
static Forest.HostType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the
specified name.
|
static Forest.HostType[] |
values()
Returns an array containing the constants of
this enum type, in the order they are declared.
|
public static final Forest.HostType FOREST_HOST
public static final Forest.HostType REQUEST_HOST
public static final Forest.HostType ALTERNATE_HOST
public static final Forest.HostType OPEN_REPLICA_HOST
public static Forest.HostType[] values()
for (Forest.HostType c : Forest.HostType.values()) System.out.println(c);
public static Forest.HostType valueOf(java.lang.String name)
name
- the name of the enum constant to be
returned.java.lang.IllegalArgumentException
- if this enum
type has no constant with the specified namejava.lang.NullPointerException
- if the argument
is nullCopyright © 2024 MarkLogic Corporation. All Rights Reserved.