Package com.elastisys.scale.cloudadapters.commons.adapter.liveness.impl

Examples of com.elastisys.scale.cloudadapters.commons.adapter.liveness.impl.NotifyingLivenessTracker$LivenessCheckRunner


    // initialize to original scaling group (without liveness tracking)
    this.scalingGroup = this.wrappedScalingGroup;

    // decorate scaling group with liveness checking if configured
    if (config().getLiveness() != null) {
      LivenessTracker livenessTracker = new NotifyingLivenessTracker(
          this.livenessTestFactory, this.eventBus,
          this.executorService);
      livenessTracker.configure(config().getLiveness());
      int livenessCheckPeriod = config().getLiveness().getRunTimeCheck()
          .getPeriod();
      this.scalingGroup = new LivenessTrackingScalingGroup(
          this.scalingGroup, livenessTracker, this.executorService,
          livenessCheckPeriod);
View Full Code Here

TOP

Related Classes of com.elastisys.scale.cloudadapters.commons.adapter.liveness.impl.NotifyingLivenessTracker$LivenessCheckRunner

Copyright © 2018 www.massapicom. 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.