public class SpaceConfig extends Object implements ProcessingUnitConfigHolder
Constructor and Description |
---|
SpaceConfig() |
public void setName(String spaceName)
setName
in interface ProcessingUnitConfigHolder
ProcessingUnitDeployment.name(String)
public String getName()
getName
in interface ProcessingUnitConfigHolder
public String getClusterSchema()
public void setClusterSchema(String clusterSchema)
public Integer getNumberOfInstances()
public void setNumberOfInstances(Integer numberOfInstances)
public String getSlaLocation()
public void setSlaLocation(String slaLocation)
public Integer getNumberOfBackups()
public void setNumberOfBackups(Integer numberOfBackups)
public Boolean isRequiresIsolation()
public void setRequiresIsolation(Boolean requiresIsolation)
public Integer getMaxInstancesPerVM()
public void setMaxInstancesPerVM(Integer maxInstancesPerVM)
public Integer getMaxInstancesPerMachine()
public void setMaxInstancesPerMachine(Integer maxInstancesPerMachine)
public void setContextProperties(Map<String,String> contextProperties)
setContextProperties
in interface ProcessingUnitConfigHolder
ProcessingUnitDeployment.setContextProperty(String, String)
public void setContextProperty(ContextPropertyConfig propertyConfig)
public Map<String,String> getContextProperties()
getContextProperties
in interface ProcessingUnitConfigHolder
public String[] getZones()
public void setZones(String[] zones)
ProcessingUnitDeployment.addZone(String)
public void addZone(String zone)
ProcessingUnitDeployment.addZone(String)
public void setMaxInstancesPerZone(String zone, int maxInstancesPerZone)
public void setMaxInstancesPerZoneConfig(MaxInstancesPerZoneConfig maxInstancesPerZoneConfig)
public String getPrimaryZone()
public void setPrimaryZone(String primaryZone)
public Boolean getSecured()
getSecured
in interface ProcessingUnitConfigHolder
ProcessingUnitDeployment.secured(boolean)
public void setSecured(Boolean secured)
setSecured
in interface ProcessingUnitConfigHolder
ProcessingUnitDeployment.secured(boolean)
public UserDetailsConfig getUserDetails()
getUserDetails
in interface ProcessingUnitConfigHolder
public void setUserDetails(UserDetailsConfig userDetails)
setUserDetails
in interface ProcessingUnitConfigHolder
ProcessingUnitDeployment.userDetails(UserDetails)
public void setDeploymentDependencies(ProcessingUnitDependency[] dependencies)
public ProcessingUnitDependency[] getDeploymentDependencies()
public ProcessingUnitDependencies<ProcessingUnitDependency> getDependencies()
public void setDependencies(ProcessingUnitDependencies<ProcessingUnitDependency> dependencies)
setDependencies
in interface ProcessingUnitConfigHolder
public ProcessingUnitConfig toProcessingUnitConfig()
toProcessingUnitConfig
in interface ProcessingUnitConfigHolder
Copyright © GigaSpaces.