public class CdcConfiguration extends Object
CdcMain runtime configuration.
Configuration is passed to CdcMain constructor.| Constructor and Description |
|---|
CdcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCheckFrequency() |
CdcConsumer |
getConsumer() |
long |
getLockTimeout() |
MetricExporterSpi[] |
getMetricExporterSpi()
Gets fully configured metric SPI implementations.
|
boolean |
isKeepBinary() |
void |
setCheckFrequency(long checkFreq) |
void |
setConsumer(CdcConsumer consumer) |
void |
setKeepBinary(boolean keepBinary) |
void |
setLockTimeout(long lockTimeout) |
void |
setMetricExporterSpi(MetricExporterSpi... metricExporterSpi)
Sets fully configured instances of
MetricExporterSpi. |
public CdcConsumer getConsumer()
public void setConsumer(CdcConsumer consumer)
consumer - CDC consumer.public void setMetricExporterSpi(MetricExporterSpi... metricExporterSpi)
MetricExporterSpi. JmxMetricExporterSpi is used by default.metricExporterSpi - Fully configured instances of MetricExporterSpi.getMetricExporterSpi(),
JmxMetricExporterSpipublic MetricExporterSpi[] getMetricExporterSpi()
JmxMetricExporterSpi is used by default.JmxMetricExporterSpipublic boolean isKeepBinary()
public void setKeepBinary(boolean keepBinary)
keepBinary - keep binary value.public long getLockTimeout()
public void setLockTimeout(long lockTimeout)
lockTimeout - Amount of time to wait for lock acquisition.public long getCheckFrequency()
public void setCheckFrequency(long checkFreq)
checkFreq - Amount of time application sleeps between subsequent checks when no new
files available.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023