/** @see #setFactoryToAvailable(ServiceHost, String, Operation.CompletionHandler) */ public static void setFactoryToAvailable(ServiceHost host, String factoryPath) { setFactoryToAvailable(host, factoryPath, null); }
public static void startServices(ServiceHost host) throws Throwable { startServices(host, false); }
public static void startServices(ServiceHost host) throws Throwable { startServices(host, false); }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); com.vmware.photon.controller.model.ServiceUtils.setRetentionLimit(template); return template; }
public static void startServices(ServiceHost host, boolean isSynchronousStart) throws Throwable { if (isSynchronousStart) { StartServicesHelper.startServicesSynchronously(host, SERVICES_METADATA); } else { StartServicesHelper.startServices(host, SERVICES_METADATA); } setFactoryToAvailable(host, ResourceMetricsService.FACTORY_LINK); }
private void createValidStates() throws Throwable { this.endpointState = ModelUtils.createEndpoint(this); this.networkState = ModelUtils.createNetwork(this, this.endpointState); this.subnetState = ModelUtils.createSubnet(this, this.networkState, this.endpointState); this.subnetRangeState1 = ModelUtils .createSubnetRange(this, this.subnetState, this.startIpInRange1, this.endIpInRange1); this.subnetRangeState2 = ModelUtils .createSubnetRange(this, this.subnetState, this.startIpInRange2, this.endIpInRange2); }
public static void startServices(ServiceHost host) throws Throwable { startServices(host, false); }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); com.vmware.photon.controller.model.ServiceUtils.setRetentionLimit(template); return template; } }
/** @see #setFactoryToAvailable(ServiceHost, String, Operation.CompletionHandler) */ public static void setFactoryToAvailable(ServiceHost host, String factoryPath) { setFactoryToAvailable(host, factoryPath, null); }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); com.vmware.photon.controller.model.ServiceUtils.setRetentionLimit(template); return template; }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument td = super.getDocumentTemplate(); ServiceUtils.setRetentionLimit(td); TagState template = (TagState) td; template.key = "key-1"; template.value = "value-1"; return template; }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); ServiceUtils.setRetentionLimit(template); return template; }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); com.vmware.photon.controller.model.ServiceUtils.setRetentionLimit(template); return template; }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); com.vmware.photon.controller.model.ServiceUtils.setRetentionLimit(template); return template; }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); ServiceUtils.setRetentionLimit(template); return template; }
@Override public ServiceDocument getDocumentTemplate() { ContentState template = (ContentState) super.getDocumentTemplate(); com.vmware.photon.controller.model.ServiceUtils.setRetentionLimit(template); template.documentDescription.serializedStateSizeLimit = MAX_SERIALIZED_SIZE_BYTES; return template; } }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument td = super.getDocumentTemplate(); ServiceUtils.setRetentionLimit(td); ResourceGroupState template = (ResourceGroupState) td; template.name = "resource-group-1"; return template; } }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); com.vmware.photon.controller.model.ServiceUtils.setRetentionLimit(template); return template; }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); com.vmware.photon.controller.model.ServiceUtils.setRetentionLimit(template); return template; }
@Override public ServiceDocument getDocumentTemplate() { ServiceDocument template = super.getDocumentTemplate(); com.vmware.photon.controller.model.ServiceUtils.setRetentionLimit(template); return template; } }