public BackoffJobAcquisitionStrategy( long baseIdleWaitTime, float idleIncreaseFactor, long maxIdleTime, long baseBackoffWaitTime, float backoffIncreaseFactor, long maxBackoffTime, int backoffDecreaseThreshold, int baseNumJobsToAcquire) { this.baseIdleWaitTime = baseIdleWaitTime; this.idleIncreaseFactor = idleIncreaseFactor; this.idleLevel = 0; this.maxIdleWaitTime = maxIdleTime; this.baseBackoffWaitTime = baseBackoffWaitTime; this.backoffIncreaseFactor = backoffIncreaseFactor; this.backoffLevel = 0; this.maxBackoffWaitTime = maxBackoffTime; this.backoffDecreaseThreshold = backoffDecreaseThreshold; this.baseNumJobsToAcquire = baseNumJobsToAcquire; initializeMaxLevels(); }
public BackoffJobAcquisitionStrategy( long baseIdleWaitTime, float idleIncreaseFactor, long maxIdleTime, long baseBackoffWaitTime, float backoffIncreaseFactor, long maxBackoffTime, int backoffDecreaseThreshold, int baseNumJobsToAcquire) { this.baseIdleWaitTime = baseIdleWaitTime; this.idleIncreaseFactor = idleIncreaseFactor; this.idleLevel = 0; this.maxIdleWaitTime = maxIdleTime; this.baseBackoffWaitTime = baseBackoffWaitTime; this.backoffIncreaseFactor = backoffIncreaseFactor; this.backoffLevel = 0; this.maxBackoffWaitTime = maxBackoffTime; this.backoffDecreaseThreshold = backoffDecreaseThreshold; this.baseNumJobsToAcquire = baseNumJobsToAcquire; initializeMaxLevels(); }
public BackoffJobAcquisitionStrategy( long baseIdleWaitTime, float idleIncreaseFactor, long maxIdleTime, long baseBackoffWaitTime, float backoffIncreaseFactor, long maxBackoffTime, int backoffDecreaseThreshold, int baseNumJobsToAcquire) { this.baseIdleWaitTime = baseIdleWaitTime; this.idleIncreaseFactor = idleIncreaseFactor; this.idleLevel = 0; this.maxIdleWaitTime = maxIdleTime; this.baseBackoffWaitTime = baseBackoffWaitTime; this.backoffIncreaseFactor = backoffIncreaseFactor; this.backoffLevel = 0; this.maxBackoffWaitTime = maxBackoffTime; this.backoffDecreaseThreshold = backoffDecreaseThreshold; this.baseNumJobsToAcquire = baseNumJobsToAcquire; initializeMaxLevels(); }