public class ElasticSearchEmbeddedNode extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
protected ElasticSearchEmbeddedServerConfig |
config |
protected org.elasticsearch.node.Node |
node |
protected int |
retry |
Constructor and Description |
---|
ElasticSearchEmbeddedNode(ElasticSearchEmbeddedServerConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
deleteLuceneFileLock(String root) |
ElasticSearchEmbeddedServerConfig |
getConfig() |
org.elasticsearch.node.Node |
getNode() |
void |
start() |
protected final ElasticSearchEmbeddedServerConfig config
protected org.elasticsearch.node.Node node
protected int retry
public ElasticSearchEmbeddedNode(ElasticSearchEmbeddedServerConfig config)
public void start()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected void deleteLuceneFileLock(String root) throws IOException
IOException
public ElasticSearchEmbeddedServerConfig getConfig()
public org.elasticsearch.node.Node getNode()
Copyright © 2018 Nuxeo. All rights reserved.