Interface Poller

All Known Subinterfaces:
ResultPoller<K>
All Known Implementing Classes:
AlteringRateResultPoller, FixedRatePoller, OperationsByAgentAndStatusPollerImpl

public interface Poller
This interface provides methods for controlling polling tasks. It can be used for any task that needs to be run according to some schedule.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Starts poller
    void
    Stops poller after finishing all started jobs
  • Method Details

    • start

      boolean start()
      Starts poller
      Returns:
      true if the poller was successfully started
    • stop

      void stop()
      Stops poller after finishing all started jobs