Package org.apache.helix.api.id

Examples of org.apache.helix.api.id.StateModelDefId


  }

  void listStateModel(String[] optValues) {
    String clusterName = optValues[0];
    String stateModel = optValues[1];
    StateModelDefId stateModelDefId = StateModelDefId.from(stateModel);
    ClusterAccessor accessor = clusterAccessor(clusterName);
    Map<StateModelDefId, StateModelDefinition> stateModelDefs =
        accessor.readStateModelDefinitions();
    StateModelDefinition stateModelDef = stateModelDefs.get(stateModelDefId);
    StringBuilder sb = new StringBuilder("StateModelDefinition: ").append(stateModelDef.toString());
View Full Code Here

TOP

Related Classes of org.apache.helix.api.id.StateModelDefId

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.