|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.admin.internal.pu.elastic.config.AbstractElasticProcessingUnitConfig org.openspaces.admin.pu.elastic.config.ElasticStatefulProcessingUnitConfig
public class ElasticStatefulProcessingUnitConfig
Field Summary | |
---|---|
static String |
MAX_MEMORY_CAPACITY_MEGABYTES_DYNAMIC_PROPERTY
|
static String |
MIN_MEMORY_CAPACITY_MEGABYTES_DYNAMIC_PROPERTY
|
Constructor Summary | |
---|---|
ElasticStatefulProcessingUnitConfig()
|
Methods inherited from class org.openspaces.admin.internal.pu.elastic.config.AbstractElasticProcessingUnitConfig |
---|
addCommandLineArgument, addContextProperty, addContextPropertyDefault, getCommandLineArguments, getContextProperties, getDedicatedIsolationConfig, getDefaultContextProperties, getDependencies, getDeploymentDependencies, getElasticProperties, getEnvironmentVariables, getMachineProvisioning, getMemoryCapacityPerContainerInMB, getName, getOverrideCommandLineArguments, getProcessingUnit, getPublicIsolationConfig, getScaleStrategy, getSecured, getSharedIsolation, getUserDetails, getUseScript, setCommandLineArguments, setContextProperties, setDedicatedIsolation, setDefaultContextProperties, setDependencies, setDeploymentDependencies, setElasticProperties, setEnvironmentVariables, setMachineProvisioning, setMemoryCapacityPerContainerInMB, setName, setOverrideCommandLineArguments, setProcessingUnit, setPublicIsolation, setScaleStrategy, setSecured, setSharedIsolation, setUserDetails, setUseScript |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openspaces.admin.pu.topology.ProcessingUnitConfigHolder |
---|
getContextProperties, getDependencies, getName, getSecured, getUserDetails, setContextProperties, setDependencies, setName, setSecured, setUserDetails |
Field Detail |
---|
public static final String MAX_MEMORY_CAPACITY_MEGABYTES_DYNAMIC_PROPERTY
public static final String MIN_MEMORY_CAPACITY_MEGABYTES_DYNAMIC_PROPERTY
Constructor Detail |
---|
public ElasticStatefulProcessingUnitConfig()
Method Detail |
---|
public ProcessingUnitConfig toProcessingUnitConfig()
toProcessingUnitConfig
in interface ProcessingUnitConfigHolder
toProcessingUnitConfig
in class org.openspaces.admin.internal.pu.elastic.config.AbstractElasticProcessingUnitConfig
protected int calcNumberOfPartitionsFromMemoryRequirements()
protected int calcNumberOfPartitionsFromCpuRequirements(Admin admin)
public long getMaxMemoryCapacityInMB()
public void setMaxMemoryCapacityInMB(long maxMemoryCapacityInMB)
public int getNumberOfBackupInstancesPerPartition()
public void setNumberOfBackupInstancesPerPartition(int numberOfBackupInstancesPerPartition)
public int getNumberOfPartitions()
public void setNumberOfPartitions(int numberOfPartitions)
public int getMaxProcessingUnitInstancesFromSamePartitionPerMachine()
public void setMaxProcessingUnitInstancesFromSamePartitionPerMachine(int maxProcessingUnitInstancesFromSamePartitionPerMachine)
public double getMaxNumberOfCpuCores()
public void setMaxNumberOfCpuCores(double maxNumberOfCpuCores)
@Deprecated public double getMinNumberOfCpuCoresPerMachine()
@Deprecated public void setMinNumberOfCpuCoresPerMachine(double minNumberOfCpuCoresPerMachine)
public boolean isAllowAboveAverageMemoryPerMachine()
public void setAllowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
public void setAdmin(Admin admin)
setAdmin
in interface ElasticStatefulProcessingUnitConfigHolder
admin
- - injects the admin into the config object in order for it to determine the
optimal number of partitions based on the discovered machines.
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |