updateParticipant(participant, clusterId, connection);
// start the controller
ControllerId controllerId = ControllerId.from("exampleController");
HelixController helixController = connection.createController(clusterId, controllerId);
helixController.start();
// start the specified participant
HelixParticipant helixParticipant = connection.createParticipant(clusterId, participant.getId());
helixParticipant.getStateMachineEngine().registerStateModelFactory(lockUnlock.getStateModelDefId(),
new LockUnlockFactory());