public interface DeltaSourceContext extends DeltaRuntimeContext, FailureNotifier
| Modifier and Type | Method and Description |
|---|---|
void |
setError(ReplicationError error)
Record that there are currently errors reading change events.
|
void |
setOK()
Record that there are no errors reading change events.
|
getApplicationName, getInstanceId, getMaxRetrySeconds, getMetrics, getRunId, getRuntimeArguments, getState, putStategetPluginProperties, getPluginProperties, loadPluginClass, newPluginInstance, newPluginInstancenotifyFailedvoid setError(ReplicationError error) throws IOException
error - information about the errorIOException - if there was an error persisting the change in state. This can only be thrown if there was
a change in state.void setOK()
throws IOException
IOException - if there was an error persisting the change in state. This can only be thrown if there was
a change in state.Copyright © 2020 CDAP Licensed under the Apache License, Version 2.0.