| Package | Description |
|---|---|
| io.debezium.connector.common | |
| io.debezium.pipeline.metrics | |
| io.debezium.relational | |
| io.debezium.util |
| Modifier and Type | Field and Description |
|---|---|
private Clock |
CdcSourceTaskContext.clock |
| Modifier and Type | Method and Description |
|---|---|
Clock |
CdcSourceTaskContext.getClock()
Returns a clock for obtaining the current time.
|
| Modifier and Type | Field and Description |
|---|---|
protected Clock |
PipelineMetrics.clock |
| Modifier and Type | Field and Description |
|---|---|
protected Clock |
RelationalSnapshotChangeEventSource.clock |
private Clock |
RelationalChangeRecordEmitter.clock |
| Modifier and Type | Method and Description |
|---|---|
protected Clock |
RelationalSnapshotChangeEventSource.getClock() |
| Constructor and Description |
|---|
RelationalChangeRecordEmitter(OffsetContext offsetContext,
Clock clock) |
RelationalSnapshotChangeEventSource(RelationalDatabaseConnectorConfig connectorConfig,
OffsetContext previousOffset,
JdbcConnection jdbcConnection,
EventDispatcher<TableId> dispatcher,
Clock clock,
SnapshotProgressListener snapshotProgressListener) |
RelationalSnapshotChangeEventSource(RelationalDatabaseConnectorConfig connectorConfig,
OffsetContext previousOffset,
JdbcConnection jdbcConnection,
HistorizedRelationalDatabaseSchema schema,
EventDispatcher<TableId> dispatcher,
Clock clock,
SnapshotProgressListener snapshotProgressListener) |
SnapshotChangeRecordEmitter(OffsetContext offset,
Object[] row,
Clock clock) |
| Modifier and Type | Field and Description |
|---|---|
static Clock |
Clock.SYSTEM
|
| Modifier and Type | Method and Description |
|---|---|
static Clock |
Clock.system()
|
| 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 Metronome |
Metronome.parker(Duration period,
Clock timeSystem)
Create a new metronome that starts ticking immediately and that uses
LockSupport.parkNanos(long) to wait. |
static Metronome |
Metronome.sleeper(Duration period,
Clock timeSystem)
Create a new metronome that starts ticking immediately and that uses
Thread.sleep(long) to wait. |
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.
|
static Threads.Timer |
Threads.timer(Clock clock,
Duration time)
Obtain a
Threads.Timer that uses the given clock to indicate that a pre-defined time period expired. |
static Threads.TimeSince |
Threads.timeSince(Clock clock)
Obtain a
Threads.TimeSince that uses the given clock to record the time elapsed. |
Copyright © 2020 JBoss by Red Hat. All rights reserved.