Examples of DbusClientMode


Examples of com.linkedin.databus.core.DbusClientMode

          writer = createEventWriter(request, clientFreeBufferSize, keyFilter, enc);

        Checkpoint cp = new Checkpoint(checkpointString);


      DbusClientMode consumptionMode = cp.getConsumptionMode();

      LOG.info("Bootstrap request received: " +
          "fetchSize=" + clientFreeBufferSize +
          ", consumptionMode=" + consumptionMode +
          ", checkpoint=" + checkpointString +
View Full Code Here

Examples of com.linkedin.databus.core.DbusClientMode

    {
      Checkpoint ckpt = null;
      try
      {
        ckpt = DbusEventUtils.getCheckpointFromEvent(event);
        DbusClientMode bootstrapMode = ckpt.getConsumptionMode();

        if (bootstrapMode != DbusClientMode.ONLINE_CONSUMPTION)
        {
          if(_bootstrapPuller == null) {
            _log.error("Checkpoint specifies that the consumer is bootstrapping, but bootstrapPuller is not present (Is bootstrap disabled ?)");
View Full Code Here

Examples of com.linkedin.databus.core.DbusClientMode

    }
    else
    {
      _currentState.setRelayFellOff(false);

      DbusClientMode consumptionMode = cp.getConsumptionMode();

      _log.info("Bootstrap completed: " +
               "Consumption Mode=" + consumptionMode +
               " startScn=" + cp.getBootstrapStartScn() +
               " targetScn=" + cp.getBootstrapTargetScn() +
View Full Code Here

Examples of com.linkedin.databus.core.DbusClientMode

    Lock writeLock = acquireWriteLock();

    try
    {
      _event.numReqBootstrap++;
      DbusClientMode mode = cp.getConsumptionMode();
      if (mode==DbusClientMode.BOOTSTRAP_CATCHUP) {
        _event.latencyCatchup += latency;
        _event.numReqCatchup++;
      } else if (mode==DbusClientMode.BOOTSTRAP_SNAPSHOT) {
        _event.numReqSnapshot++;
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.