Package org.elasticsearch.test.discovery
Class ClusterDiscoveryConfiguration
- java.lang.Object
-
- org.elasticsearch.test.NodeConfigurationSource
-
- org.elasticsearch.test.discovery.ClusterDiscoveryConfiguration
-
- Direct Known Subclasses:
ClusterDiscoveryConfiguration.UnicastZen
public class ClusterDiscoveryConfiguration extends NodeConfigurationSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterDiscoveryConfiguration.UnicastZen
-
Field Summary
-
Fields inherited from class org.elasticsearch.test.NodeConfigurationSource
EMPTY
-
-
Constructor Summary
Constructors Constructor Description ClusterDiscoveryConfiguration(int numOfNodes, Settings extraSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.Path
nodeConfigPath(int nodeOrdinal)
Settings
nodeSettings(int nodeOrdinal)
Settings
transportClientSettings()
-
Methods inherited from class org.elasticsearch.test.NodeConfigurationSource
nodePlugins, transportClientPlugins
-
-
-
-
Constructor Detail
-
ClusterDiscoveryConfiguration
public ClusterDiscoveryConfiguration(int numOfNodes, Settings extraSettings)
-
-
Method Detail
-
nodeSettings
public Settings nodeSettings(int nodeOrdinal)
- Specified by:
nodeSettings
in classNodeConfigurationSource
- Returns:
- the settings for the node represented by the given ordinal, or
null
if there are no settings defined
-
nodeConfigPath
public java.nio.file.Path nodeConfigPath(int nodeOrdinal)
- Specified by:
nodeConfigPath
in classNodeConfigurationSource
-
transportClientSettings
public Settings transportClientSettings()
- Overrides:
transportClientSettings
in classNodeConfigurationSource
-
-