Closeable, AutoCloseablepublic class JMEmbeddedElasticsearch
extends org.elasticsearch.node.Node
| Constructor | Description |
|---|---|
JMEmbeddedElasticsearch() |
Instantiates a new Jm embedded elasticsearch.
|
JMEmbeddedElasticsearch(String nodeName,
String networkHost) |
Instantiates a new Jm embedded elasticsearch.
|
JMEmbeddedElasticsearch(org.elasticsearch.common.settings.Settings settings) |
Instantiates a new Jm embedded elasticsearch.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getHttpIpPortPair() |
Gets http ip port pair.
|
static org.elasticsearch.common.settings.Settings.Builder |
getNodeConfig(String clusterName,
String nodeName,
String networkHost,
String homePath,
boolean nodeIngest) |
Gets node config.
|
String |
getTransportIpPortPair() |
Gets transport ip port pair.
|
org.elasticsearch.node.Node |
start() |
addNodeNameIfNeeded, client, close, createCircuitBreakerService, getEnvironment, getNodeEnvironment, getPluginsService, injector, isClosed, newClusterInfoService, newSearchService, newTransportService, originalSettings, processRecoverySettings, settings, validateNodeBeforeAcceptingRequestspublic JMEmbeddedElasticsearch()
public JMEmbeddedElasticsearch(org.elasticsearch.common.settings.Settings settings)
settings - the settingspublic static org.elasticsearch.common.settings.Settings.Builder getNodeConfig(String clusterName, String nodeName, String networkHost, String homePath, boolean nodeIngest)
clusterName - the cluster namenodeName - the node namenetworkHost - the network hosthomePath - the home pathnodeIngest - the node ingestpublic org.elasticsearch.node.Node start()
start in class org.elasticsearch.node.Nodepublic String getTransportIpPortPair()
public String getHttpIpPortPair()
Copyright © 2018. All rights reserved.