| Modifier and Type | Class and Description |
|---|---|
static class |
Runner.OpeningState |
static class |
Runner.State |
| Modifier and Type | Field and Description |
|---|---|
protected int |
_cdcRestartAttempts |
protected long |
_cdcRestartFrequency |
| Modifier | Constructor and Description |
|---|---|
protected |
Runner(Boolean enabled,
Boolean disableOnFail,
int pollAlertFrequency,
String logName,
DbPersister dbPersister,
Alerter alerter,
ICdcTracer tracer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close a CDC runner
|
void |
disable()
Disable CDC on the underlying log
|
void |
enable()
Enable CDC on the underlying log
|
void |
info()
Return CDC related info
|
void |
open(boolean async)
Open the CDC runner
|
Runner.OpeningState |
openingState()
Get a CDC runner's opening sub state
|
void |
run()
Overriden implementation of
Runnable.run() |
void |
start()
Start the CDC runner
|
Runner.State |
state()
Get a CDC runner's current state
|
void |
stop(boolean async)
Stop the CDC runner
|
@Inject protected long _cdcRestartFrequency
@Inject protected int _cdcRestartAttempts
protected Runner(Boolean enabled, Boolean disableOnFail, int pollAlertFrequency, String logName, DbPersister dbPersister, Alerter alerter, ICdcTracer tracer) throws Exception
Exceptionpublic final Runner.State state()
public final Runner.OpeningState openingState()
This method returns null if the runner is in Init state and the last opening state if the state is anything other than Init or Opening.
public final void open(boolean async)
throws Exception
async - Whether to submit the open to occur in the backgroundExceptionThis method opens a CDC runner. The open process opens the DB persister associated with the runner and ensures that the application's transaction log file is present and ready for operation. If the transaction log is absent, then the open uses the DB persister to materializes the log from the database
public final void start()
public final void stop(boolean async)
public final void enable()
public final void disable()
public final void info()
public final void close()
A CDC runner must be successfully shut down prior to close
public final void run()
Runnable.run()Copyright © 2016 Neeve Research, LLC. All Rights Reserved.