Package org.apache.solr.cloud
Class ActionThrottle
- java.lang.Object
- 
- org.apache.solr.cloud.ActionThrottle
 
- 
 public class ActionThrottle extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description ActionThrottle(String name, long minMsBetweenActions)ActionThrottle(String name, long minMsBetweenActions, long lastActionStartedAt)ActionThrottle(String name, long minMsBetweenActions, long lastActionStartedAt, TimeSource timeSource)ActionThrottle(String name, long minMsBetweenActions, TimeSource timeSource)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetLastActionStartedAt()voidmarkAttemptingAction()voidminimumWaitBetweenActions()voidreset()
 
- 
- 
- 
Constructor Detail- 
ActionThrottlepublic ActionThrottle(String name, long minMsBetweenActions) 
 - 
ActionThrottlepublic ActionThrottle(String name, long minMsBetweenActions, TimeSource timeSource) 
 - 
ActionThrottlepublic ActionThrottle(String name, long minMsBetweenActions, long lastActionStartedAt) 
 - 
ActionThrottlepublic ActionThrottle(String name, long minMsBetweenActions, long lastActionStartedAt, TimeSource timeSource) 
 
- 
 - 
Method Detail- 
resetpublic void reset() 
 - 
markAttemptingActionpublic void markAttemptingAction() 
 - 
minimumWaitBetweenActionspublic void minimumWaitBetweenActions() 
 - 
getLastActionStartedAtpublic Long getLastActionStartedAt() 
 
- 
 
-