@Deprecated public class ElasticStatefulProcessingUnitConfig extends AbstractElasticProcessingUnitConfig implements ElasticStatefulProcessingUnitConfigHolder
Modifier and Type | Field and Description |
---|---|
static String |
MAX_MEMORY_CAPACITY_MEGABYTES_DYNAMIC_PROPERTY
Deprecated.
|
static String |
MIN_MEMORY_CAPACITY_MEGABYTES_DYNAMIC_PROPERTY
Deprecated.
|
Constructor and Description |
---|
ElasticStatefulProcessingUnitConfig()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected int |
calcNumberOfPartitionsFromCpuRequirements(Admin admin)
Deprecated.
|
protected int |
calcNumberOfPartitionsFromMemoryRequirements()
Deprecated.
|
long |
getMaxMemoryCapacityInMB()
Deprecated.
|
double |
getMaxNumberOfCpuCores()
Deprecated.
|
int |
getMaxProcessingUnitInstancesFromSamePartitionPerMachine()
Deprecated.
|
double |
getMinNumberOfCpuCoresPerMachine()
Deprecated.
|
int |
getNumberOfBackupInstancesPerPartition()
Deprecated.
|
int |
getNumberOfPartitions()
Deprecated.
|
boolean |
isAllowAboveAverageMemoryPerMachine()
Deprecated.
|
void |
setAdmin(Admin admin)
Deprecated.
|
void |
setAllowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
Deprecated.
|
void |
setDedicatedMachineProvisioning(DedicatedMachineProvisioningInternal dedicatedMachineProvisioningInternal)
Deprecated.
Parse the dedicated-machine-provisioning bean, get its data and apply them to the relevant
methods to enable dedicated machine provisioning
|
void |
setDeploymentDependencies(ProcessingUnitDependency[] dependencies)
Deprecated.
|
void |
setHighlyAvailable(boolean highlyAvailable)
Deprecated.
|
void |
setMachineProvisioning(ElasticMachineProvisioningConfig machineProvisioningConfig)
Deprecated.
|
void |
setMaxMemoryCapacityInMB(long maxMemoryCapacityInMB)
Deprecated.
|
void |
setMaxNumberOfCpuCores(double maxNumberOfCpuCores)
Deprecated.
|
void |
setMaxProcessingUnitInstancesFromSamePartitionPerMachine(int maxProcessingUnitInstancesFromSamePartitionPerMachine)
Deprecated.
|
void |
setMemoryCapacityPerContainerInMB(long memoryInMB)
Deprecated.
|
void |
setMinNumberOfCpuCoresPerMachine(double minNumberOfCpuCoresPerMachine)
Deprecated.
|
void |
setNumberOfBackupInstancesPerPartition(int numberOfBackupInstancesPerPartition)
Deprecated.
|
void |
setNumberOfPartitions(int numberOfPartitions)
Deprecated.
|
void |
setProcessingUnitFile(String processingUnitFilePath)
Deprecated.
|
void |
setProcessingUnitName(String processingUnitName)
Deprecated.
|
void |
setScaleStrategy(ScaleStrategyConfig scaleStrategy)
Deprecated.
|
void |
setSecured(Boolean secured)
Deprecated.
|
void |
setSharedMachineProvisioning(SharedMachineProvisioningInternal sharedMachineProvisioningInternal)
Deprecated.
Parse the shared-machine-provisioning bean, get its data and apply them to the relevant
methods to enable shared machine provisioning
|
void |
setSingleMachineDeployment(boolean singleMachineDeployment)
Deprecated.
|
void |
setUserDetails(UserDetailsConfig userDetails)
Deprecated.
|
ProcessingUnitConfig |
toProcessingUnitConfig()
Deprecated.
|
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, setElasticProperties, setEnvironmentVariables, setName, setOverrideCommandLineArguments, setProcessingUnit, setPublicIsolation, setSharedIsolation, setUseScript
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContextProperties, getDependencies, getName, getSecured, getUserDetails, setContextProperties, setDependencies, setName
public static final String MAX_MEMORY_CAPACITY_MEGABYTES_DYNAMIC_PROPERTY
public static final String MIN_MEMORY_CAPACITY_MEGABYTES_DYNAMIC_PROPERTY
public ElasticStatefulProcessingUnitConfig()
public ProcessingUnitConfig toProcessingUnitConfig()
toProcessingUnitConfig
in interface ProcessingUnitConfigHolder
toProcessingUnitConfig
in class AbstractElasticProcessingUnitConfig
protected int calcNumberOfPartitionsFromMemoryRequirements()
protected int calcNumberOfPartitionsFromCpuRequirements(Admin admin)
public long getMaxMemoryCapacityInMB()
public int getNumberOfBackupInstancesPerPartition()
public void setNumberOfBackupInstancesPerPartition(int numberOfBackupInstancesPerPartition)
public int getNumberOfPartitions()
public int getMaxProcessingUnitInstancesFromSamePartitionPerMachine()
public void setMaxProcessingUnitInstancesFromSamePartitionPerMachine(int maxProcessingUnitInstancesFromSamePartitionPerMachine)
public double getMaxNumberOfCpuCores()
@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.public void setMaxNumberOfCpuCores(double maxNumberOfCpuCores)
public void setNumberOfPartitions(int numberOfPartitions)
public void setProcessingUnitFile(String processingUnitFilePath)
public void setProcessingUnitName(String processingUnitName)
public void setMaxMemoryCapacityInMB(long maxMemoryCapacityInMB)
public void setUserDetails(UserDetailsConfig userDetails)
setUserDetails
in interface ProcessingUnitConfigHolder
setUserDetails
in class AbstractElasticProcessingUnitConfig
ProcessingUnitDeployment.userDetails(UserDetails)
public void setSecured(Boolean secured)
setSecured
in interface ProcessingUnitConfigHolder
setSecured
in class AbstractElasticProcessingUnitConfig
ProcessingUnitDeployment.secured(boolean)
public void setMemoryCapacityPerContainerInMB(long memoryInMB)
setMemoryCapacityPerContainerInMB
in class AbstractElasticProcessingUnitConfig
public void setMachineProvisioning(ElasticMachineProvisioningConfig machineProvisioningConfig)
setMachineProvisioning
in class AbstractElasticProcessingUnitConfig
public void setScaleStrategy(ScaleStrategyConfig scaleStrategy)
setScaleStrategy
in class AbstractElasticProcessingUnitConfig
public void setHighlyAvailable(boolean highlyAvailable)
public void setSingleMachineDeployment(boolean singleMachineDeployment)
public void setDeploymentDependencies(ProcessingUnitDependency[] dependencies)
setDeploymentDependencies
in class AbstractElasticProcessingUnitConfig
public void setSharedMachineProvisioning(SharedMachineProvisioningInternal sharedMachineProvisioningInternal)
public void setDedicatedMachineProvisioning(DedicatedMachineProvisioningInternal dedicatedMachineProvisioningInternal)
Copyright © GigaSpaces.