|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.service.AbstractCassandraDaemon
org.apache.cassandra.thrift.CassandraDaemon
public class CassandraDaemon
This class supports two methods for creating a Cassandra node daemon, invoking the class's main method, and using the jsvc wrapper from commons-daemon, (for more information on using this class with the jsvc wrapper, see the Commons Daemon documentation).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.cassandra.service.AbstractCassandraDaemon |
---|
AbstractCassandraDaemon.CleaningThreadPool |
Field Summary |
---|
Fields inherited from class org.apache.cassandra.service.AbstractCassandraDaemon |
---|
listenAddr, listenPort, MIN_WORKER_THREADS |
Constructor Summary | |
---|---|
CassandraDaemon()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
protected void |
setup()
This is a hook for concrete daemons to initialize themselves suitably. |
void |
start()
hook for JSVC |
void |
stop()
hook for JSVC |
Methods inherited from class org.apache.cassandra.service.AbstractCassandraDaemon |
---|
activate, deactivate, destroy, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CassandraDaemon()
Method Detail |
---|
protected void setup() throws java.io.IOException
AbstractCassandraDaemon
setup
in class AbstractCassandraDaemon
java.io.IOException
public void start()
start
in interface CassandraDaemon
start
in class AbstractCassandraDaemon
public void stop()
stop
in interface CassandraDaemon
stop
in class AbstractCassandraDaemon
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |