org.apache.cassandra.db
Class HintedHandOffManager

java.lang.Object
  extended by 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_
           
 
Constructor Summary
HintedHandOffManager()
           
 
Method Summary
 void deliverHints(EndPoint to)
           
static HintedHandOffManager instance()
           
 void shutdown()
           
 void submit(ColumnFamilyStore columnFamilyStore)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key_

public static final java.lang.String key_
See Also:
Constant Field Values
Constructor Detail

HintedHandOffManager

public HintedHandOffManager()
Method Detail

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