| Package | Description |
|---|---|
| com.graphaware.runtime.schedule |
| Modifier and Type | Method and Description |
|---|---|
static AdaptiveTimingStrategy |
AdaptiveTimingStrategy.defaultConfiguration()
Create a new instance of this strategy with default configuration, which is:
delta = 100ms
default delay = 2s
minimum delay = 5ms
maximum delay = 10s
busy threshold = 100
maximum samples = 200
maximum time = 2s
|
AdaptiveTimingStrategy |
AdaptiveTimingStrategy.withBusyThreshold(int busyThreshold)
Returns a copy of this
AdaptiveTimingStrategy reconfigured to use the given busy threshold. |
AdaptiveTimingStrategy |
AdaptiveTimingStrategy.withDefaultDelayMillis(long defaultDelay)
Returns a copy of this
AdaptiveTimingStrategy reconfigured to use the specified default timer-driven
module scheduling delay. |
AdaptiveTimingStrategy |
AdaptiveTimingStrategy.withDelta(long delta)
Returns a copy of this
AdaptiveTimingStrategy reconfigured to use the specified delta. |
AdaptiveTimingStrategy |
AdaptiveTimingStrategy.withMaximumDelayMillis(long maxDelay)
Returns a copy of this
AdaptiveTimingStrategy reconfigured to use the specified maximum delay between
timer-driven module invocations. |
AdaptiveTimingStrategy |
AdaptiveTimingStrategy.withMaxSamples(int maxSamples)
Returns a copy of this
AdaptiveTimingStrategy reconfigured to use the maximum number of samples. |
AdaptiveTimingStrategy |
AdaptiveTimingStrategy.withMaxTime(int maxTime)
Returns a copy of this
AdaptiveTimingStrategy reconfigured to use the given maximum running average window time span. |
AdaptiveTimingStrategy |
AdaptiveTimingStrategy.withMinimumDelayMillis(long minDelay)
Returns a copy of this
AdaptiveTimingStrategy reconfigured to use the specified minimum delay between
timer-driven module invocations. |
Copyright © 2013-2016–2018 Graph Aware Limited. All rights reserved.