GigaSpaces XAP 9.7.2 API

org.openspaces.admin.memcached.config
Class MemcachedConfig

java.lang.Object
  extended by org.openspaces.admin.memcached.config.MemcachedConfig
All Implemented Interfaces:
ProcessingUnitConfigHolder

public class MemcachedConfig
extends Object
implements ProcessingUnitConfigHolder

Since:
9.0.1
Author:
itaif

Constructor Summary
MemcachedConfig()
           
 
Method Summary
 void addZone(String zone)
           
 boolean equals(Object obj)
           
 String getClusterSchema()
           
 Map<String,String> getContextProperties()
           
 ProcessingUnitDependencies<ProcessingUnitDependency> getDependencies()
           
 ProcessingUnitDependency[] getDeploymentDependencies()
           
 Integer getMaxInstancesPerMachine()
           
 Integer getMaxInstancesPerVM()
           
 Map<String,Integer> getMaxInstancesPerZone()
           
 String getName()
           
 Integer getNumberOfBackups()
           
 Integer getNumberOfInstances()
           
 Boolean getSecured()
           
 String getSlaLocation()
           
 String getSpaceUrl()
           
 UserDetailsConfig getUserDetails()
           
 String[] getZones()
           
 int hashCode()
           
 void setClusterSchema(String clusterSchema)
           
 void setContextProperties(Map<String,String> contextProperties)
           
 void setContextProperty(String key, String value)
           
 void setContextPropertyConfig(ContextPropertyConfig propertyConfig)
           
 void setDependencies(ProcessingUnitDependencies<ProcessingUnitDependency> dependencies)
           
 void setDeploymentDependencies(ProcessingUnitDependency[] dependencies)
           
 void setMaxInstancesPerMachine(Integer maxInstancesPerMachine)
           
 void setMaxInstancesPerVM(Integer maxInstancesPerVM)
           
 void setMaxInstancesPerZone(Map<String,Integer> maxInstancesPerZone)
           
 void setMaxInstancesPerZone(String zone, int maxInstancesPerZone)
           
 void setMaxInstancesPerZoneConfig(MaxInstancesPerZoneConfig maxInstancesPerZoneConfig)
           
 void setName(String name)
           
 void setNumberOfBackups(Integer numberOfBackups)
           
 void setNumberOfInstances(Integer numberOfInstances)
           
 void setSecured(Boolean secured)
           
 void setSlaLocation(String slaLocation)
           
 void setSpaceUrl(String spaceUrl)
           
 void setUserDetails(UserDetailsConfig userDetails)
           
 void setZones(String[] zones)
           
 ProcessingUnitConfig toProcessingUnitConfig()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemcachedConfig

public MemcachedConfig()
Method Detail

setSpaceUrl

public void setSpaceUrl(String spaceUrl)

getSpaceUrl

public String getSpaceUrl()

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)

setContextPropertyConfig

public void setContextPropertyConfig(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)

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

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)

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

toProcessingUnitConfig

public ProcessingUnitConfig toProcessingUnitConfig()
Specified by:
toProcessingUnitConfig in interface ProcessingUnitConfigHolder

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.