Package org.apache.helix

Examples of org.apache.helix.HelixMultiClusterController


      HelixParticipant participant = (HelixParticipant) _role;
      engine = participant.getStateMachineEngine();
      break;
    }
    case CONTROLLER_PARTICIPANT: {
      HelixMultiClusterController multiClusterController = (HelixMultiClusterController) _role;
      engine = multiClusterController.getStateMachineEngine();
      break;
    }
    default:
      LOG.info("helix manager type: " + _role.getType() + " does NOT have state-machine-engine");
    }
View Full Code Here


      HelixController controller = (HelixController) _role;
      isLeader = controller.isLeader();
      break;
    }
    case CONTROLLER_PARTICIPANT: {
      HelixMultiClusterController multiClusterController = (HelixMultiClusterController) _role;
      isLeader = multiClusterController.isLeader();
      break;
    }
    default:
      LOG.info("helix manager type: " + _role.getType() + " does NOT support leadership");
    }
View Full Code Here

      HelixParticipant participant = (HelixParticipant) _role;
      participant.addPreConnectCallback(callback);
      break;
    }
    case CONTROLLER_PARTICIPANT: {
      HelixMultiClusterController multiClusterController = (HelixMultiClusterController) _role;
      multiClusterController.addPreConnectCallback(callback);
      break;
    }
    default:
      LOG.info("helix manager type: " + _role.getType()
          + " does NOT support add pre-connect callback");
View Full Code Here

      HelixParticipant participant = (HelixParticipant) _role;
      participant.setLiveInstanceInfoProvider(liveInstanceInfoProvider);
      break;
    }
    case CONTROLLER_PARTICIPANT: {
      HelixMultiClusterController multiClusterController = (HelixMultiClusterController) _role;
      multiClusterController.setLiveInstanceInfoProvider(liveInstanceInfoProvider);
      break;
    }
    default:
      LOG.info("helix manager type: " + _role.getType()
          + " does NOT support set additional live instance information");
View Full Code Here

TOP

Related Classes of org.apache.helix.HelixMultiClusterController

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.