Class SingleNodeProvisioner

  • All Implemented Interfaces:
    com.yahoo.config.model.api.HostProvisioner

    public class SingleNodeProvisioner
    extends java.lang.Object
    implements com.yahoo.config.model.api.HostProvisioner
    A host provisioner used when there is no hosts.xml file (using localhost as the only host) No state in this provisioner, i.e it does not know anything about the active application if one exists.
    Author:
    hmusum
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.yahoo.config.provision.HostSpec allocateHost​(java.lang.String alias)  
      java.util.List<com.yahoo.config.provision.HostSpec> prepare​(com.yahoo.config.provision.ClusterSpec cluster, com.yahoo.config.provision.Capacity capacity, com.yahoo.config.provision.ProvisionLogger logger)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SingleNodeProvisioner

        public SingleNodeProvisioner()
      • SingleNodeProvisioner

        public SingleNodeProvisioner​(com.yahoo.config.provision.Flavor flavor)
    • Method Detail

      • allocateHost

        public com.yahoo.config.provision.HostSpec allocateHost​(java.lang.String alias)
        Specified by:
        allocateHost in interface com.yahoo.config.model.api.HostProvisioner
      • prepare

        public java.util.List<com.yahoo.config.provision.HostSpec> prepare​(com.yahoo.config.provision.ClusterSpec cluster,
                                                                           com.yahoo.config.provision.Capacity capacity,
                                                                           com.yahoo.config.provision.ProvisionLogger logger)
        Specified by:
        prepare in interface com.yahoo.config.model.api.HostProvisioner