org.apache.cassandra.avro
Class CassandraDaemon

java.lang.Object
  extended by org.apache.cassandra.service.AbstractCassandraDaemon
      extended by org.apache.cassandra.avro.CassandraDaemon
All Implemented Interfaces:
CassandraDaemon

public class CassandraDaemon
extends AbstractCassandraDaemon

The Avro analogue to org.apache.cassandra.service.CassandraDaemon.


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
isRunning, listenAddr, listenPort
 
Constructor Summary
CassandraDaemon()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void startServer()
          Start the underlying RPC server.
protected  void stopServer()
          Stop the underlying RPC server.
 
Methods inherited from class org.apache.cassandra.service.AbstractCassandraDaemon
activate, deactivate, destroy, init, isRPCServerRunning, setup, start, startRPCServer, stop, stopRPCServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CassandraDaemon

public CassandraDaemon()
Method Detail

startServer

protected void startServer()
Description copied from class: AbstractCassandraDaemon
Start the underlying RPC server. This method shoud be able to restart a server stopped through stopServer(). Should throw a RuntimeException if the server cannot be started

Specified by:
startServer in class AbstractCassandraDaemon

stopServer

protected void stopServer()
Description copied from class: AbstractCassandraDaemon
Stop the underlying RPC server. This method should be able to stop server started through startServer(). Should throw a RuntimeException if the server cannot be stopped

Specified by:
stopServer in class AbstractCassandraDaemon

main

public static void main(java.lang.String[] args)


Copyright © 2011 The Apache Software Foundation