org.openspaces.admin.pu.config
Class ProcessingUnitConfig
java.lang.Object
org.openspaces.admin.pu.config.ProcessingUnitConfig
- All Implemented Interfaces:
- ProcessingUnitConfigHolder
public class ProcessingUnitConfig
- extends Object
- implements ProcessingUnitConfigHolder
- Since:
- 9.0.1
- Author:
- itaif
ProcessingUnitConfig
public ProcessingUnitConfig()
getProcessingUnit
public String getProcessingUnit()
setProcessingUnit
public void setProcessingUnit(String processingUnit)
- See Also:
ProcessingUnitDeployment.ProcessingUnitDeployment(String)
getName
public String getName()
- Specified by:
getName
in interface ProcessingUnitConfigHolder
setName
public void setName(String name)
- Specified by:
setName
in interface ProcessingUnitConfigHolder
- See Also:
ProcessingUnitDeployment.name(String)
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)
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)
getContextProperties
public Map<String,String> getContextProperties()
- Specified by:
getContextProperties
in interface ProcessingUnitConfigHolder
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)
getSlaLocation
public String getSlaLocation()
setSlaLocation
public void setSlaLocation(String slaLocation)
- See Also:
ProcessingUnitDeployment.slaLocation(String)
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)
getElasticProperties
public Map<String,String> getElasticProperties()
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)
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)
setContextPropertyConfig
public void setContextPropertyConfig(ContextPropertyConfig propertyConfig)
setElasticProperties
public void setElasticProperties(Map<String,String> elasticProperties)
- See Also:
ProcessingUnitDeployment.setElasticProperty(String, String)
toDeploymentOptions
public String[] toDeploymentOptions()
- See Also:
ProcessingUnitDeployment.getDeploymentOptions()
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)
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
setDeploymentDependencies
public void setDeploymentDependencies(ProcessingUnitDependency[] dependencies)
- A helper method for setting conditions for processing unit deployment.
getDeploymentDependencies
public ProcessingUnitDependency[] getDeploymentDependencies()
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
getPrimaryZone
public String getPrimaryZone()
setPrimaryZone
public void setPrimaryZone(String primaryZone)
toProcessingUnitConfig
public ProcessingUnitConfig toProcessingUnitConfig()
- Specified by:
toProcessingUnitConfig
in interface ProcessingUnitConfigHolder
Copyright © GigaSpaces.