org.apache.cassandra.db
Class HintedHandOffManager
java.lang.Object
org.apache.cassandra.db.HintedHandOffManager
- All Implemented Interfaces:
- IComponentShutdown
public class HintedHandOffManager
- extends java.lang.Object
- implements IComponentShutdown
There are two ways hinted data gets delivered to the intended nodes.
runHints() runs periodically and pushes the hinted data on this node to
every intended node.
runDelieverHints() is called when some other node starts up (potentially
from a failure) and delivers the hinted data just to that node.
Field Summary |
static java.lang.String |
key_
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key_
public static final java.lang.String key_
- See Also:
- Constant Field Values
HintedHandOffManager
public HintedHandOffManager()
instance
public static HintedHandOffManager instance()
submit
public void submit(ColumnFamilyStore columnFamilyStore)
deliverHints
public void deliverHints(EndPoint to)
shutdown
public void shutdown()
- Specified by:
shutdown
in interface IComponentShutdown
Copyright © 2009 The Apache Software Foundation