org.apache.cassandra.db
Interface HintedHandOffManagerMBean

All Known Implementing Classes:
HintedHandOffManager

public interface HintedHandOffManagerMBean


Method Summary
 java.util.Map<java.lang.String,java.lang.Integer> countPendingHints()
          List all the endpoints that this node has hints for, and count the number of hints for each such endpoint.
 void deleteHintsForEndpoint(java.lang.String epaddr)
          Nuke all hints from this node to `ep`.
 java.util.List<java.lang.String> listEndpointsPendingHints()
          List all the endpoints that this node has hints for.
 

Method Detail

deleteHintsForEndpoint

void deleteHintsForEndpoint(java.lang.String epaddr)
Nuke all hints from this node to `ep`.

Parameters:
epaddr - String rep. of endpoint address to delete hints for, either ip address ("127.0.0.1") or hostname

listEndpointsPendingHints

java.util.List<java.lang.String> listEndpointsPendingHints()
List all the endpoints that this node has hints for.

Returns:
set of endpoints; as Strings

countPendingHints

java.util.Map<java.lang.String,java.lang.Integer> countPendingHints()
List all the endpoints that this node has hints for, and count the number of hints for each such endpoint.

Returns:
map of endpoint -> hint count


Copyright © 2011 The Apache Software Foundation