Package org.apache.cassandra.hints
Interface HintsServiceMBean
-
- All Known Implementing Classes:
HintsService
public interface HintsServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteAllHints()
Irrevocably deletes all the stored hints files (with the exception of those that are being dispatched right now, or being written to).void
deleteAllHintsForEndpoint(java.lang.String address)
Irrevocably deletes all the stored hints files for the target address (with the exception of those that are being dispatched right now, or being written to).java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getPendingHints()
Returns all pending hints that this node has.void
pauseDispatch()
Pause dispatch of all hints.void
resumeDispatch()
Resume dispatch of all hints.
-
-
-
Method Detail
-
pauseDispatch
void pauseDispatch()
Pause dispatch of all hints. Does not affect the creation of hints.
-
resumeDispatch
void resumeDispatch()
Resume dispatch of all hints. Does not affect the creation of hints.
-
deleteAllHints
void deleteAllHints()
Irrevocably deletes all the stored hints files (with the exception of those that are being dispatched right now, or being written to).
-
deleteAllHintsForEndpoint
void deleteAllHintsForEndpoint(java.lang.String address)
Irrevocably deletes all the stored hints files for the target address (with the exception of those that are being dispatched right now, or being written to).
-
getPendingHints
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getPendingHints()
Returns all pending hints that this node has.- Returns:
- a list of endpoints with relevant hint information - total number of files, newest and oldest timestamps.
-
-