public interface LogProcessorBuilder
ChangeProcessor
s which are executed independently.Modifier and Type | Method and Description |
---|---|
LogProcessorBuilder |
addProcessor(ChangeProcessor processor)
Adds a
ChangeProcessor to this transaction log processor. |
void |
build()
Builds this transaction log processor and starts processing the log.
|
String |
getLogIdentifier()
Returns the identifier of the transaction log to be processed by this processor.
|
LogProcessorBuilder |
setProcessorIdentifier(String name)
Sets the identifier of this processor.
|
LogProcessorBuilder |
setRetryAttempts(int attempts)
Sets how often this log processor should attempt to retry executing a contained
ChangeProcessor in case of failure. |
LogProcessorBuilder |
setStartTime(Instant startTime)
Sets the time at which this log processor should start processing transaction log entries
|
LogProcessorBuilder |
setStartTimeNow()
Indicates that the transaction log processor should process newly added events.
|
String getLogIdentifier()
LogProcessorBuilder setProcessorIdentifier(String name)
This is an optional argument if recording the processing state is desired.
name
- LogProcessorBuilder setStartTime(Instant startTime)
startTime
- LogProcessorBuilder setStartTimeNow()
LogProcessorBuilder addProcessor(ChangeProcessor processor)
ChangeProcessor
to this transaction log processor. These are executed independently.processor
- LogProcessorBuilder setRetryAttempts(int attempts)
ChangeProcessor
in case of failure.attempts
- void build()
Copyright © 2012–2024. All rights reserved.