public interface ForestConfiguration
A reflection of the forest configuration associated with the specified database (or the default database for the specified port) in the MarkLogic cluster. This interface is purposely simple so it can be overriden for advanced scenarios (see FilteredForestConfiguration for an example).
| Modifier and Type | Method and Description |
|---|---|
default String[] |
getPreferredHosts()
A utility method to return the list of hosts a Batcher should use when talking to this database.
|
Forest[] |
listForests() |
Forest[] listForests()
default String[] getPreferredHosts()
A utility method to return the list of hosts a Batcher should use when talking to this database. The list is retrieved by calling getPreferredHost() on each Forest.
Copyright © 2013-2017 MarkLogic Corporation.