Class CdcConfiguration


  • public class CdcConfiguration
    extends Object
    This class defines CdcMain runtime configuration. Configuration is passed to CdcMain constructor.
    • Constructor Detail

      • CdcConfiguration

        public CdcConfiguration()
    • Method Detail

      • getConsumer

        public CdcConsumer getConsumer()
        Returns:
        CDC consumer.
      • setConsumer

        public void setConsumer​(CdcConsumer consumer)
        Parameters:
        consumer - CDC consumer.
      • isKeepBinary

        public boolean isKeepBinary()
        Returns:
        keep binary value.
      • setKeepBinary

        public void setKeepBinary​(boolean keepBinary)
        Parameters:
        keepBinary - keep binary value.
      • getLockTimeout

        public long getLockTimeout()
        Returns:
        Amount of time to wait for lock acquisition.
      • setLockTimeout

        public void setLockTimeout​(long lockTimeout)
        Parameters:
        lockTimeout - Amount of time to wait for lock acquisition.
      • getCheckFrequency

        public long getCheckFrequency()
        Returns:
        Amount of time application sleeps between subsequent checks when no new files available.
      • setCheckFrequency

        public void setCheckFrequency​(long checkFreq)
        Parameters:
        checkFreq - Amount of time application sleeps between subsequent checks when no new files available.