Examples of InstanceType


Examples of org.apache.helix.InstanceType

    if (manager == null) {
      LOG.error("missing attributes in changeContext. requires HelixManager");
      return;
    }

    InstanceType type = manager.getInstanceType();
    if (type != InstanceType.CONTROLLER && type != InstanceType.CONTROLLER_PARTICIPANT) {
      LOG.error("fail to become controller because incorrect instanceType (was " + type.toString()
          + ", requires CONTROLLER | CONTROLLER_PARTICIPANT)");
      return;
    }

    ControllerManagerHelper controllerHelper =
View Full Code Here

Examples of org.apache.helix.InstanceType

    if (manager == null) {
      LOG.error("missing attributes in changeContext. requires HelixManager");
      return;
    }

    InstanceType type = _manager.getInstanceType();
    if (type != InstanceType.CONTROLLER && type != InstanceType.CONTROLLER_PARTICIPANT) {
      LOG.error("fail to become controller because incorrect instanceType (was " + type.toString()
          + ", requires CONTROLLER | CONTROLLER_PARTICIPANT)");
      return;
    }

    try {
View Full Code Here

Examples of org.apache.helix.InstanceType

    if (manager == null) {
      LOG.error("missing attributes in changeContext. requires HelixManager");
      return;
    }

    InstanceType type = manager.getInstanceType();
    if (type != InstanceType.CONTROLLER && type != InstanceType.CONTROLLER_PARTICIPANT) {
      LOG.error("fail to become controller because incorrect instanceType (was " + type.toString()
          + ", requires CONTROLLER | CONTROLLER_PARTICIPANT)");
      return;
    }

    ControllerManagerHelper controllerHelper =
View Full Code Here

Examples of org.apache.helix.InstanceType

  public Map<InstanceType, List<Message>> generateMessage(final Criteria recipientCriteria,
                                                           final Message message)
  {
    Map<InstanceType, List<Message>> messagesToSendMap =
        new HashMap<InstanceType, List<Message>>();
    InstanceType instanceType = recipientCriteria.getRecipientInstanceType();

    if (instanceType == InstanceType.CONTROLLER)
    {
      List<Message> messages = generateMessagesForController(message);
      messagesToSendMap.put(InstanceType.CONTROLLER, messages);
View Full Code Here

Examples of org.jclouds.ibm.smartcloud.domain.InstanceType

      for (Image image : imagesThatAreInOurLocationAndNotBYOL)
         Iterables.addAll(instanceTypes, image.getSupportedInstanceTypes());

      instanceType = cheapestOrdering.max(instanceTypes);

      final InstanceType cheapestInstanceType = instanceType;
      System.err.println(cheapestInstanceType);

      image = Iterables.find(imagesThatAreInOurLocationAndNotBYOL, new Predicate<Image>() {

         @Override
View Full Code Here

Examples of org.jclouds.ibm.smartcloud.domain.InstanceType

               "SYSTEM",
               "SUSE Linux Enterprise Server/11",
               Image.Architecture.I386,
               new Date(1216944000000l),
               "41",
               ImmutableSet.<InstanceType> of(new InstanceType("Bronze 32 bit", new Price(0.17, "UHR  ", "897", null,
                        "USD", 1), "BRZ32.1/2048/175"), new InstanceType("Gold 32 bit", new Price(0.41, "UHR  ", "897",
                        null, "USD", 1), "GLD32.4/4096/350"), new InstanceType("Silver 32 bit", new Price(0.265,
                        "UHR  ", "897", null, "USD", 1), "SLV32.2/4096/350")),
               ImmutableSet.<String> of("ifeE7VOzRG6SGvoDlRPTQw"),
               HttpUtils
                        .createUri("https://www-147.ibm.com/cloud/enterprise/ram.ws/RAMSecure/artifact/{F006D027-02CC-9D08-D389-6C729D939D44}/1.0/GettingStarted.html"),
               "20001150", "SUSE Linux Enterprise Server 11 for x86 Base OS 32-bit with pay for use licensing");
View Full Code Here

Examples of org.jclouds.ibm.smartcloud.domain.InstanceType

                        "SYSTEM",
                        "SUSE Linux Enterprise Server/11",
                        Image.Architecture.X86_64,
                        new Date(1216944000000l),
                        "41",
                        ImmutableSet.<InstanceType> of(new InstanceType("Bronze 32 bit", new Price(0.17, "UHR  ",
                                 "897", null, "USD", 1), "BRZ32.1/2048/175"), new InstanceType("Gold 32 bit",
                                 new Price(0.41, "UHR  ", "897", null, "USD", 1), "GLD32.4/4096/350"),
                                 new InstanceType("Silver 32 bit", new Price(0.265, "UHR  ", "897", null, "USD", 1),
                                          "SLV32.2/4096/350")),
                        ImmutableSet.<String> of("ifeE7VOzRG6SGvoDlRPTQw"),
                        HttpUtils
                                 .createUri("https://www-147.ibm.com/cloud/enterprise/ram.ws/RAMSecure/artifact/{F006D027-02CC-9D08-D389-6C729D939D44}/1.0/GettingStarted.html"),
                        "20001150", "SUSE Linux Enterprise Server 11 for x86 Base OS 32-bit with pay for use licensing"));
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.