| Package | Description |
|---|---|
| io.debezium.util |
| Modifier and Type | Method and Description |
|---|---|
static ElapsedTimeStrategy |
ElapsedTimeStrategy.constant(Clock clock,
long delayInMilliseconds)
Create a strategy whose time periods are constant.
|
static ElapsedTimeStrategy |
ElapsedTimeStrategy.exponential(Clock clock,
long initialDelayInMilliseconds,
long maxDelayInMilliseconds)
Create a strategy whose time periods increase exponentially.
|
static ElapsedTimeStrategy |
ElapsedTimeStrategy.exponential(Clock clock,
long initialDelayInMilliseconds,
long maxDelayInMilliseconds,
double multiplier)
Create a strategy whose time periods increase exponentially.
|
static ElapsedTimeStrategy |
ElapsedTimeStrategy.linear(Clock clock,
long delayInMilliseconds)
Create a strategy whose time periods linearly increase in length.
|
static ElapsedTimeStrategy |
ElapsedTimeStrategy.none()
Create an elapsed time strategy that always is elapsed.
|
static ElapsedTimeStrategy |
ElapsedTimeStrategy.step(Clock clock,
long preStepDelayInMilliseconds,
BooleanSupplier stepFunction,
long postStepDelayInMilliseconds)
Create a strategy whose time periods start out at one length but then change to another length after another
period has elapsed.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.