Class ActionThrottle


  • public class ActionThrottle
    extends Object
    • Constructor Detail

      • ActionThrottle

        public ActionThrottle​(String name,
                              long minMsBetweenActions)
      • ActionThrottle

        public ActionThrottle​(String name,
                              long minMsBetweenActions,
                              org.apache.solr.common.util.TimeSource timeSource)
      • ActionThrottle

        public ActionThrottle​(String name,
                              long minMsBetweenActions,
                              long lastActionStartedAt)
      • ActionThrottle

        public ActionThrottle​(String name,
                              long minMsBetweenActions,
                              long lastActionStartedAt,
                              org.apache.solr.common.util.TimeSource timeSource)
    • Method Detail

      • reset

        public void reset()
      • markAttemptingAction

        public void markAttemptingAction()
      • minimumWaitBetweenActions

        public void minimumWaitBetweenActions()
      • getLastActionStartedAt

        public Long getLastActionStartedAt()