public class Node
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Setup all workers and stores.
|
static void |
main(java.lang.String[] args)
Main method.
|
void |
run()
Launch all workers and stores.
|
void |
shutdown()
Gracefully tear down all workers and stores.
|
static void |
start(java.lang.String[] args)
Main entry point for the store.
|
public Node(Options opts)
public static void main(java.lang.String[] args)
start
and outputs errors nicely.public static void start(java.lang.String[] args) throws TerminationException
TerminationException
- to indicate that the store is shutting downpublic void initialize()
public void run()
public void shutdown()