public class CdcSourceTaskContext extends Object
SourceTask implementations.| Modifier and Type | Field and Description |
|---|---|
private Clock |
clock |
private String |
connectorName |
private String |
connectorType |
| Constructor and Description |
|---|
CdcSourceTaskContext(String connectorType,
String connectorName) |
| Modifier and Type | Method and Description |
|---|---|
LoggingContext.PreviousContext |
configureLoggingContext(String contextName)
Configure the logger's Mapped Diagnostic Context (MDC) properties for the thread making this call.
|
Clock |
getClock()
Returns a clock for obtaining the current time.
|
private final String connectorType
private final String connectorName
private final Clock clock
public LoggingContext.PreviousContext configureLoggingContext(String contextName)
contextName - the name of the context; may not be nullIllegalArgumentException - if contextName is nullpublic Clock getClock()
Copyright © 2018 JBoss by Red Hat. All rights reserved.