Interface HintsServiceMBean

All Known Implementing Classes:
HintsService

public interface HintsServiceMBean
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Irrevocably deletes all the stored hints files (with the exception of those that are being dispatched right now, or being written to).
    void
    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).
    Returns all pending hints that this node has.
    void
    Pause dispatch of all hints.
    void
    Resume dispatch of all hints.
  • Method Details

    • 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(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

      List<Map<String,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.