org.openspaces.admin.space.config
Class SpaceConfig
java.lang.Object
org.openspaces.admin.space.config.SpaceConfig
- All Implemented Interfaces:
- ProcessingUnitConfigHolder
public class SpaceConfig
- extends Object
- implements ProcessingUnitConfigHolder
- Since:
- 9.0.1
- Author:
- itaif
SpaceConfig
public SpaceConfig()
setName
public void setName(String spaceName)
- Specified by:
setName
in interface ProcessingUnitConfigHolder
- See Also:
ProcessingUnitDeployment.name(String)
getName
public String getName()
- Specified by:
getName
in interface ProcessingUnitConfigHolder
getClusterSchema
public String getClusterSchema()
setClusterSchema
public void setClusterSchema(String clusterSchema)
- See Also:
ProcessingUnitDeployment.clusterSchema(String)
getNumberOfInstances
public Integer getNumberOfInstances()
setNumberOfInstances
public void setNumberOfInstances(Integer numberOfInstances)
- See Also:
ProcessingUnitDeployment.numberOfInstances(int)
getSlaLocation
public String getSlaLocation()
setSlaLocation
public void setSlaLocation(String slaLocation)
- See Also:
ProcessingUnitDeployment.slaLocation(String)
getNumberOfBackups
public Integer getNumberOfBackups()
setNumberOfBackups
public void setNumberOfBackups(Integer numberOfBackups)
- See Also:
ProcessingUnitDeployment.numberOfBackups(int)
getMaxInstancesPerVM
public Integer getMaxInstancesPerVM()
setMaxInstancesPerVM
public void setMaxInstancesPerVM(Integer maxInstancesPerVM)
- See Also:
ProcessingUnitDeployment.maxInstancesPerVM(int)
getMaxInstancesPerMachine
public Integer getMaxInstancesPerMachine()
setMaxInstancesPerMachine
public void setMaxInstancesPerMachine(Integer maxInstancesPerMachine)
- See Also:
ProcessingUnitDeployment.maxInstancesPerMachine(int)
setContextProperties
public void setContextProperties(Map<String,String> contextProperties)
- Specified by:
setContextProperties
in interface ProcessingUnitConfigHolder
- See Also:
ProcessingUnitDeployment.setContextProperty(String, String)
setContextProperty
public void setContextProperty(String key,
String value)
- See Also:
ProcessingUnitDeployment.setContextProperty(String, String)
setContextProperty
public void setContextProperty(ContextPropertyConfig propertyConfig)
getContextProperties
public Map<String,String> getContextProperties()
- Specified by:
getContextProperties
in interface ProcessingUnitConfigHolder
getZones
public String[] getZones()
setZones
public void setZones(String[] zones)
- See Also:
ProcessingUnitDeployment.addZone(String)
addZone
public void addZone(String zone)
- See Also:
ProcessingUnitDeployment.addZone(String)
getMaxInstancesPerZone
public Map<String,Integer> getMaxInstancesPerZone()
setMaxInstancesPerZone
public void setMaxInstancesPerZone(Map<String,Integer> maxInstancesPerZone)
- See Also:
ProcessingUnitDeployment.maxInstancesPerZone(String, int)
setMaxInstancesPerZone
public void setMaxInstancesPerZone(String zone,
int maxInstancesPerZone)
- See Also:
ProcessingUnitDeployment.maxInstancesPerZone(String, int)
setMaxInstancesPerZoneConfig
public void setMaxInstancesPerZoneConfig(MaxInstancesPerZoneConfig maxInstancesPerZoneConfig)
getPrimaryZone
public String getPrimaryZone()
setPrimaryZone
public void setPrimaryZone(String primaryZone)
getSecured
public Boolean getSecured()
- Specified by:
getSecured
in interface ProcessingUnitConfigHolder
- See Also:
ProcessingUnitDeployment.secured(boolean)
setSecured
public void setSecured(Boolean secured)
- Specified by:
setSecured
in interface ProcessingUnitConfigHolder
- See Also:
ProcessingUnitDeployment.secured(boolean)
getUserDetails
public UserDetailsConfig getUserDetails()
- Specified by:
getUserDetails
in interface ProcessingUnitConfigHolder
setUserDetails
public void setUserDetails(UserDetailsConfig userDetails)
- Specified by:
setUserDetails
in interface ProcessingUnitConfigHolder
- See Also:
ProcessingUnitDeployment.userDetails(UserDetails)
setDeploymentDependencies
public void setDeploymentDependencies(ProcessingUnitDependency[] dependencies)
- See Also:
ProcessingUnitConfig.setDeploymentDependencies(ProcessingUnitDependency[])
getDeploymentDependencies
public ProcessingUnitDependency[] getDeploymentDependencies()
getDependencies
public ProcessingUnitDependencies<ProcessingUnitDependency> getDependencies()
- Specified by:
getDependencies
in interface ProcessingUnitConfigHolder
- See Also:
ProcessingUnitDeployment.addDependencies(org.openspaces.admin.internal.pu.dependency.ProcessingUnitDetailedDependencies)
setDependencies
public void setDependencies(ProcessingUnitDependencies<ProcessingUnitDependency> dependencies)
- Specified by:
setDependencies
in interface ProcessingUnitConfigHolder
toProcessingUnitConfig
public ProcessingUnitConfig toProcessingUnitConfig()
- Specified by:
toProcessingUnitConfig
in interface ProcessingUnitConfigHolder
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © GigaSpaces.