public interface DelayAdjuster
| Modifier and Type | Method and Description |
|---|---|
long |
determineNextDelay(long currentDelay,
long lastTaskDuration,
long load)
Determines the absolute number of milliseconds that should be used as the next timing delay for scheduling a module
invocation based on the given arguments.
|
long determineNextDelay(long currentDelay,
long lastTaskDuration,
long load)
currentDelay - The currently-used delay length in milliseconds - i.e., the base value to adjust.lastTaskDuration - The number of milliseconds taken to execute the previously-scheduled task.load - The load on the database in tx/s.Copyright © 2013-2016–2018 Graph Aware Limited. All rights reserved.