## Package org.apache.cassandra.service

Interface Summary
CassandraDaemon: The `CassandraDaemon` interface captures the lifecycle of a Cassandra daemon that runs on a single node.
IReadCommand
IResponseResolver<T>
IWriteResponseHandler
StorageProxy.WritePerformer
StorageProxyMBean
StorageServiceMBean

Class Summary
AbstractCassandraDaemon: The `CassandraDaemon` is an abstraction for a Cassandra daemon service, which defines not only a way to activate and deactivate it, but also hooks into its lifecycle methods (see `AbstractCassandraDaemon.setup()`, `AbstractCassandraDaemon.start()`, `AbstractCassandraDaemon.stop()` and `AbstractCassandraDaemon.setup()`).
AbstractCassandraDaemon.CleaningThreadPool: A subclass of Java's ThreadPoolExecutor which implements Jetty's ThreadPool interface (for integration with Avro), and performs ClientState cleanup.
AbstractRowResolver
AbstractWriteResponseHandler
AntiEntropyService: AntiEntropyService encapsulates "validating" (hashing) individual column families, exchanging MerkleTrees with remote nodes via a TreeRequest/Response conversation, and then triggering repairs for disagreeing ranges.
AntiEntropyService.RepairFuture
AntiEntropyService.TreeRequest: A tuple of table, cf, address and range that represents a location we have an outstanding TreeRequest for.
AntiEntropyService.TreeRequestVerbHandler: Handler for requests from remote nodes to generate a valid tree.
AntiEntropyService.TreeResponseVerbHandler: Handler for responses from remote nodes which contain a valid tree.
AntiEntropyService.Validator: A Strategy to handle building and validating a merkle tree for a column family.
AsyncRepairCallback
ClientState: A container for per-client, thread-local state that Avro/Thrift threads must hold.
DatacenterReadCallback<T>: Datacenter Quorum response handler blocks for a quorum of responses from the local DC
DatacenterSyncWriteResponseHandler: This class blocks for a quorum of responses _in all datacenters_ (CL.EACH_QUORUM).
DatacenterWriteResponseHandler: This class blocks for a quorum of responses _in the local datacenter only_ (CL.LOCAL_QUORUM).
EmbeddedCassandraService: An embedded, in-memory cassandra storage service that listens on the thrift interface as configured in cassandra.yaml This kind of service is useful when running unit tests of services using cassandra for example.
GCInspector
IndexScanVerbHandler
LoadBroadcaster
MigrationManager
RangeSliceResponseResolver: Turns RangeSliceReply objects into row (string -> CF) maps, resolving to the most recent ColumnFamily and setting up read repairs as necessary.
RangeSliceVerbHandler
ReadCallback<T>
RepairCallback
RowDigestResolver
RowRepairResolver
SocketSessionManagementService
StorageProxy
StorageService
TruncateResponseHandler
WriteResponseHandler: Handles blocking writes for ONE, ANY, TWO, THREE, QUORUM, and ALL consistency levels.

Enum Summary
StorageService.Verb

Exception Summary
DigestMismatchException

Copyright © 2012 The Apache Software Foundation