public interface Node extends Releasable
client() can be used
in order to use a Client to perform actions/operations against the cluster.
In order to create a node, the NodeBuilder can be used. When done with it, make sure to
call close() on it.
| Modifier and Type | Method and Description |
|---|---|
Client |
client()
A client that can be used to execute actions (operations) against the cluster.
|
void |
close()
Closes the node (and
stop()s if its running). |
boolean |
isClosed()
Returns true if the node is closed.
|
Settings |
settings()
The settings that were used to create the node.
|
Node |
start()
Start the node.
|
Node |
stop()
Stops the node.
|
Settings settings()
Client client()
Node start()
Node stop()
void close()
stop()s if its running).close in interface AutoCloseableclose in interface Releasableboolean isClosed()
Copyright © 2009–2016. All rights reserved.