public interface Forest
Some details about a MarkLogic forest.
| Modifier and Type | Method and Description |
|---|---|
String |
getAlternateHost()
The alternate host name associated with the forest in the MarkLogic server.
|
String |
getDatabaseName()
The database name associated with the forest in the MarkLogic server.
|
String |
getForestId()
The id for the forest as provided by the MarkLogic server.
|
String |
getForestName()
The name of the forest as provided by the MarkLogic server.
|
String |
getHost()
The host name associated with the forest in the MarkLogic server.
|
String |
getOpenReplicaHost()
The replica host name associated with the forest in the MarkLogic server.
|
default String |
getPreferredHost()
Returns the host your application should talk to for this forest.
|
boolean |
isUpdateable()
Whether or not this forest is updateable.
|
String getForestId()
The id for the forest as provided by the MarkLogic server.
String getForestName()
The name of the forest as provided by the MarkLogic server.
String getDatabaseName()
The database name associated with the forest in the MarkLogic server.
String getHost()
The host name associated with the forest in the MarkLogic server.
String getOpenReplicaHost()
The replica host name associated with the forest in the MarkLogic server. If this is not null this forest has failed over to a replica.
String getAlternateHost()
The alternate host name associated with the forest in the MarkLogic server. If this is not null this forest cannot be accessed directly and should instead be accessed through this alternate host. One reason a forest could not be accessed directly is if the forest is on a d-node (a MarkLogic instance with no app servers).
boolean isUpdateable()
Whether or not this forest is updateable.
default String getPreferredHost()
Returns the host your application should talk to for this forest. If getAlternateHost() is not null, return it. Otherwise, if getOpenReplicaHost() is not null, return it. Otherwise, return getHost().
Copyright © 2013-2017 MarkLogic Corporation.