Examples of BackoffTimerStaticConfig


Examples of com.linkedin.databus2.core.BackoffTimerStaticConfig

    _remoteExceptionHandler = new RemoteExceptionHandler(sourcesConn, dbusEventBuffer, eventFactory);
    _relayCallsStats = _sourcesConn.getLocalRelayCallsStatsCollector();
    _isReadLatestScnOnErrorEnabled = isReadLatestScnOnErrorEnabled;
    _pullerBufferUtilizationPct = pullerBufferUtilPct;
    _retriesOnFallOff = new BackoffTimer("RetriesOnFallOff",
        new BackoffTimerStaticConfig(0, 0, 1, 0, sourcesConn.getConnectionConfig().getNumRetriesOnFallOff()));
    _noEventsConnectionResetTimeSec = noEventsConnectionResetTimeSec;
  }
View Full Code Here

Examples of com.linkedin.databus2.core.BackoffTimerStaticConfig

  {
    boolean success = false;

    // Create a infinite backoff timer that waits for maximum of 1 sec
    // for writing the control message to evb
    BackoffTimerStaticConfig timerConfig = new BackoffTimerStaticConfig(
        1, 1000, 1, 1, -1);
    BackoffTimer timer = new BackoffTimer("EVB More Space Timer",
        timerConfig);
    timer.reset();
View Full Code Here

Examples of com.linkedin.databus2.core.BackoffTimerStaticConfig

  /**
   * Creates a default fetchMaxSCn request with retry timeout of 1 sec and retries (=3)
   */
  public FetchMaxSCNRequest()
  {
    this(new BackoffTimerStaticConfig(DEFAULT_RETRY_TIMEOUT_MILLIS, DEFAULT_RETRY_TIMEOUT_MILLIS, 1, 0, DEFAULT_NUM_MAXSCN_RETRIES));
  }
View Full Code Here

Examples of com.linkedin.databus2.core.BackoffTimerStaticConfig

    this(new BackoffTimerStaticConfig(DEFAULT_RETRY_TIMEOUT_MILLIS, DEFAULT_RETRY_TIMEOUT_MILLIS, 1, 0, DEFAULT_NUM_MAXSCN_RETRIES));
  }
 
  public FetchMaxSCNRequest(long retryTimeoutMillis, int numMaxScnRetries)
  {
    this(new BackoffTimerStaticConfig(retryTimeoutMillis, retryTimeoutMillis, 1, 0, numMaxScnRetries));
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.