Package com.linkedin.helix.mock.storage.MockParticipant

Examples of com.linkedin.helix.mock.storage.MockParticipant.MockBootstrapModelFactory


      participants[i] = new MockParticipant(clusterName, instanceName, ZK_ADDR, null);

      // add a state model with non-OFFLINE initial state
      StateMachineEngine stateMach = participants[i].getManager().getStateMachineEngine();
      MockBootstrapModelFactory bootstrapFactory = new MockBootstrapModelFactory();
      stateMach.registerStateModelFactory("Bootstrap", bootstrapFactory);

      participants[i].syncStart();
    }
View Full Code Here

TOP

Related Classes of com.linkedin.helix.mock.storage.MockParticipant.MockBootstrapModelFactory

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.