Examples of HelixMultiClusterController


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

Examples of org.apache.helix.HelixMultiClusterController

      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

Examples of org.apache.helix.HelixMultiClusterController

      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

Examples of org.apache.helix.HelixMultiClusterController

      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
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.