@Liveness @ApplicationScoped public class ConnectorLifecycle extends Object implements org.eclipse.microprofile.health.HealthCheck, DebeziumEngine.ConnectorCallback, DebeziumEngine.CompletionCallback
| Modifier and Type | Field and Description |
|---|---|
(package private) javax.enterprise.event.Event<ConnectorCompletedEvent> |
connectorCompletedEvent |
(package private) javax.enterprise.event.Event<ConnectorStartedEvent> |
connectorStartedEvent |
(package private) javax.enterprise.event.Event<ConnectorStoppedEvent> |
connectorStoppedEvent |
private boolean |
live |
private static org.slf4j.Logger |
LOGGER |
(package private) javax.enterprise.event.Event<TaskStartedEvent> |
taskStartedEvent |
(package private) javax.enterprise.event.Event<TaskStoppedEvent> |
taskStoppedEvent |
| Constructor and Description |
|---|
ConnectorLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.health.HealthCheckResponse |
call() |
void |
connectorStarted() |
void |
connectorStopped() |
void |
handle(boolean success,
String message,
Throwable error) |
void |
taskStarted() |
void |
taskStopped() |
private static final org.slf4j.Logger LOGGER
private volatile boolean live
@Inject javax.enterprise.event.Event<ConnectorStartedEvent> connectorStartedEvent
@Inject javax.enterprise.event.Event<ConnectorStoppedEvent> connectorStoppedEvent
@Inject javax.enterprise.event.Event<TaskStartedEvent> taskStartedEvent
@Inject javax.enterprise.event.Event<TaskStoppedEvent> taskStoppedEvent
@Inject javax.enterprise.event.Event<ConnectorCompletedEvent> connectorCompletedEvent
public void connectorStarted()
connectorStarted in interface DebeziumEngine.ConnectorCallbackpublic void connectorStopped()
connectorStopped in interface DebeziumEngine.ConnectorCallbackpublic void taskStarted()
taskStarted in interface DebeziumEngine.ConnectorCallbackpublic void taskStopped()
taskStopped in interface DebeziumEngine.ConnectorCallbackpublic void handle(boolean success,
String message,
Throwable error)
handle in interface DebeziumEngine.CompletionCallbackpublic org.eclipse.microprofile.health.HealthCheckResponse call()
call in interface org.eclipse.microprofile.health.HealthCheckCopyright © 2021 JBoss by Red Hat. All rights reserved.