|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CassandraDaemon
The CassandraDaemon
interface captures the lifecycle of a
Cassandra daemon that runs on a single node.
Method Summary | |
---|---|
void |
activate()
A convenience method to initialize and start the daemon in one shot. |
void |
deactivate()
A convenience method to stop and destroy the daemon in one shot. |
void |
destroy()
Clean up all resources obtained during the lifetime of the daemon. |
void |
init(java.lang.String[] arguments)
Initialize the Cassandra Daemon based on the given Commons Daemon-specific arguments. |
void |
start()
Start the Cassandra Daemon, assuming that it has already been initialized, via either init(String[]) or
#load(String[]) . |
void |
stop()
Stop the daemon, ideally in an idempotent manner. |
Method Detail |
---|
void init(java.lang.String[] arguments) throws java.io.IOException
arguments
- the arguments passed in from JSVC
java.io.IOException
void start() throws java.io.IOException
init(String[])
or
#load(String[])
.
java.io.IOException
void stop()
void destroy()
void activate()
void deactivate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |