public interface Node
Modifier and Type | Interface and Description |
---|---|
static interface |
Node.NodeParams<T>
Common interface for the configurations of different implementation of
Node . |
static class |
Node.NodeType |
Modifier and Type | Method and Description |
---|---|
Node |
deploy()
Deploys a specific node into the
Universe . |
void |
destroy()
Destroy a
Node completely. |
Node.NodeParams |
getParams() |
Stress |
getStress() |
void |
kill()
Kills a
Node immediately. |
void |
stop(Duration timeout)
Stops a
Node gracefully within the timeout provided to this method. |
Node deploy()
Universe
.Node
with the new state.NodeException
- thrown when can not deploy Node
void stop(Duration timeout)
Node
gracefully within the timeout provided to this method.timeout
- a limit within which the method attempts to gracefully stop the Node
.NodeException
- thrown in case of unsuccessful stop.void kill()
Node
immediately.NodeException
- thrown in case of unsuccessful kill.void destroy()
Node
completely.NodeException
- thrown in case of unsuccessful destroy.Node.NodeParams getParams()
Stress getStress()
Copyright © 2019 CorfuDB. All rights reserved.