Examples of StatsHolder


Examples of org.apache.helix.alerts.StatsHolder

  @BeforeMethod(groups = {
    "unitTest"
  })
  public void setup() {
    _helixManager = new MockManager(CLUSTER_NAME);
    _statsHolder = new StatsHolder(_helixManager, new HealthDataCache());
  }
View Full Code Here

Examples of org.apache.helix.alerts.StatsHolder

    if (manager == null || cache == null) {
      throw new StageException("helixmanager|HealthDataCache attribute value is null");
    }
    if (_alertsHolder == null) {
      _statsHolder = new StatsHolder(manager, cache);
      _alertsHolder = new AlertsHolder(manager, cache, _statsHolder);
    } else {
      _statsHolder.updateCache(cache);
      _alertsHolder.updateCache(cache);
    }
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.