@Deprecated public class ElasticStatefulProcessingUnitDeployment extends AbstractElasticProcessingUnitDeployment implements ElasticStatefulDeploymentTopology, AdvancedStatefulDeploymentTopology
ElasticStatefulProcessingUnitDeployment| Constructor and Description |
|---|
ElasticStatefulProcessingUnitDeployment(File processingUnit)
Deprecated.
Constructs a stateful processing unit deployment based on the specified processing unit file
path (points either to a processing unit jar/zip file or a directory).
|
ElasticStatefulProcessingUnitDeployment(String processingUnit)
Deprecated.
Constructs a stateful processing unit deployment based on the specified processing unit name
(should exists under the
[GS ROOT]/deploy directory. |
| Modifier and Type | Method and Description |
|---|---|
ElasticStatefulProcessingUnitDeployment |
addCommandLineArgument(String vmInputArgument)
Deprecated.
Will add a JVM level argument when the process is executed using pure JVM.
|
ElasticStatefulProcessingUnitDeployment |
addContextProperty(String key,
String value)
Deprecated.
Defines a context deploy time property overriding any
${...} defined within a
processing unit configuration. |
ElasticStatefulProcessingUnitDeployment |
addDependencies(ProcessingUnitDetailedDependencies<? extends ProcessingUnitDependency> detailedDependencies)
Deprecated.
Postpones deployment of processing unit instances until the specified dependencies are met.
|
ElasticStatefulProcessingUnitDeployment |
addDependency(String requiredProcessingUnitName)
Deprecated.
Postpones deployment of processing unit instances deployment until the specified processing
unit deployment is complete.
|
ElasticStatefulProcessingUnitDeployment |
addEnvironmentVariable(String name,
String value)
Deprecated.
Defines an environment variable that will be passed to forked process.
|
ElasticStatefulProcessingUnitDeployment |
commandLineArgument(String vmInputArgument)
Deprecated.
Will add a JVM level argument when the process is executed using pure JVM.
|
ElasticStatefulProcessingUnitConfig |
create()
Deprecated.
Converts this fluent API object to a lazy implementation of ProcessingUnitConfig
|
ElasticStatefulProcessingUnitDeployment |
dedicatedMachineProvisioning(ElasticMachineProvisioningConfig config)
Deprecated.
Configure the server side bean that starts and stops machines automatically.
|
ElasticStatefulProcessingUnitDeployment |
environmentVariable(String name,
String value)
Deprecated.
Sets an environment variable that will be passed to forked process.
|
protected ElasticStatefulProcessingUnitConfig |
getConfig()
Deprecated.
|
ElasticStatefulProcessingUnitDeployment |
highlyAvailable(boolean highlyAvailable)
Deprecated.
Specifies if the space should duplicate each information on two different machines.
|
ElasticStatefulProcessingUnitDeployment |
maxMemoryCapacity(int maxMemoryCapacity,
MemoryUnit unit)
Deprecated.
Specifies an estimate of the maximum memory capacity for this processing unit.
|
ElasticStatefulProcessingUnitDeployment |
maxMemoryCapacity(String maxMemoryCapacity)
Deprecated.
Specifies an estimate of the minimum memory capacity for this processing unit.
|
ElasticStatefulProcessingUnitDeployment |
maxNumberOfCpuCores(int maxNumberOfCpuCores)
Deprecated.
Specifies an estimate for the maximum total number of cpu cores used by this processing
unit.
|
protected ElasticStatefulProcessingUnitDeployment |
maxProcessingUnitInstancesFromSamePartitionPerMachine(int maxProcessingUnitInstancesFromSamePartitionPerMachine)
Deprecated.
|
ElasticStatefulProcessingUnitDeployment |
memoryCapacityPerContainer(int memoryCapacityPerContainer,
MemoryUnit unit)
Deprecated.
Specifies the the heap size per container (operating system process) For example:
memoryCapacityPerContainer(256,MemoryUnit.MEGABYTES) is equivalent to
commandLineArgument("-Xmx256m").commandLineArgument("-Xms256m")
|
ElasticStatefulProcessingUnitDeployment |
memoryCapacityPerContainer(String memoryCapacityPerContainer)
Deprecated.
Specifies the the heap size per container (operating system process) For example:
memoryCapacityPerContainer("256m") is equivalent to commandLineArgument("-Xmx256m").commandLineArgument("-Xms256m")
|
ElasticStatefulProcessingUnitDeployment |
minNumberOfCpuCoresPerMachine(double minNumberOfCpuCoresPerMachine)
Deprecated.
|
ElasticStatefulProcessingUnitDeployment |
name(String name)
Deprecated.
Sets the processing unit name that will be deployed.
|
ElasticStatefulProcessingUnitDeployment |
numberOfBackupsPerPartition(int numberOfBackupsPerPartition)
Deprecated.
Overrides the number of backup processing unit instances per partition.
|
ElasticStatefulProcessingUnitDeployment |
numberOfPartitions(int numberOfPartitions)
Deprecated.
Defines the number of processing unit partitions.
|
ElasticStatefulProcessingUnitDeployment |
overrideCommandLineArguments()
Deprecated.
Will cause JVM options added using
AbstractElasticProcessingUnitDeployment.commandLineArgument(String) to override all the
vm arguments that the JVM will start by default with. |
ElasticStatefulProcessingUnitDeployment |
publicMachineProvisioning(ElasticMachineProvisioningConfig config)
Deprecated.
Configure the server side bean that starts and stops machines automatically.
|
ElasticStatefulProcessingUnitDeployment |
scale(EagerScaleConfig strategy)
Deprecated.
Enables the specified scale strategy, and disables all other scale strategies.
|
ElasticStatefulProcessingUnitDeployment |
scale(ManualCapacityScaleConfig strategy)
Deprecated.
Enables the specified scale strategy, and disables all other scale strategies.
|
ElasticStatefulProcessingUnitDeployment |
secured(boolean secured)
Deprecated.
Will deploy a secured processing unit.
|
ElasticStatefulProcessingUnitDeployment |
sharedMachineProvisioning(String sharingId,
ElasticMachineProvisioningConfig config)
Deprecated.
Configure the server side bean that starts and stops machines automatically.
|
ElasticStatefulProcessingUnitDeployment |
singleMachineDeployment()
Deprecated.
Allows deployment of the processing unit on a single machine, by lifting the limitation for
primary and backup processing unit instances from the same partition to be deployed on
different machines.
|
ElasticStatefulProcessingUnitDeployment |
userDetails(String userName,
String password)
Deprecated.
Advanced: Sets the security user details for authentication and authorization of the
processing unit.
|
ElasticStatefulProcessingUnitDeployment |
userDetails(UserDetails userDetails)
Deprecated.
Advanced: Sets the security user details for authentication and authorization of the
processing unit.
|
ElasticStatefulProcessingUnitDeployment |
useScriptToStartContainer()
Deprecated.
Will cause the
GridServiceContainer to be started using a
script and not a pure Java process. |
addContextPropertyDefault, getElasticProperties, scale, sharedMachineProvisioningpublic ElasticStatefulProcessingUnitDeployment(String processingUnit)
[GS ROOT]/deploy directory.public ElasticStatefulProcessingUnitDeployment(File processingUnit)
public ElasticStatefulProcessingUnitDeployment maxMemoryCapacity(int maxMemoryCapacity, MemoryUnit unit)
ElasticStatefulDeploymentTopologymaxMemoryCapacity in interface ElasticStatefulDeploymentTopologypublic ElasticStatefulProcessingUnitDeployment maxMemoryCapacity(String maxMemoryCapacity)
ElasticStatefulDeploymentTopologymaxMemoryCapacity in interface ElasticStatefulDeploymentTopologypublic ElasticStatefulProcessingUnitDeployment highlyAvailable(boolean highlyAvailable)
ElasticStatefulDeploymentTopologyhighlyAvailable in interface ElasticStatefulDeploymentTopologypublic ElasticStatefulProcessingUnitDeployment numberOfBackupsPerPartition(int numberOfBackupsPerPartition)
AdvancedStatefulDeploymentTopologynumberOfBackupsPerPartition in interface AdvancedStatefulDeploymentTopologypublic ElasticStatefulProcessingUnitDeployment numberOfPartitions(int numberOfPartitions)
AdvancedStatefulDeploymentTopologyElasticStatefulDeploymentTopology.maxMemoryCapacity(String)
and ElasticStatefulDeploymentTopology.maxNumberOfCpuCores(int).
This is an advanced property.numberOfPartitions in interface AdvancedStatefulDeploymentTopologyprotected ElasticStatefulProcessingUnitDeployment maxProcessingUnitInstancesFromSamePartitionPerMachine(int maxProcessingUnitInstancesFromSamePartitionPerMachine)
public ElasticStatefulProcessingUnitDeployment maxNumberOfCpuCores(int maxNumberOfCpuCores)
ElasticStatefulDeploymentTopologymaxNumberOfCpuCores in interface ElasticStatefulDeploymentTopology@Deprecated public ElasticStatefulProcessingUnitDeployment minNumberOfCpuCoresPerMachine(double minNumberOfCpuCoresPerMachine)
public ElasticStatefulProcessingUnitDeployment memoryCapacityPerContainer(int memoryCapacityPerContainer, MemoryUnit unit)
ElasticDeploymentTopologymemoryCapacityPerContainer in interface ElasticDeploymentTopologymemoryCapacityPerContainer in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment memoryCapacityPerContainer(String memoryCapacityPerContainer)
ElasticDeploymentTopologymemoryCapacityPerContainer in interface ElasticDeploymentTopologymemoryCapacityPerContainer in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment singleMachineDeployment()
AdvancedStatefulDeploymentTopologysingleMachineDeployment in interface AdvancedStatefulDeploymentTopologypublic ElasticStatefulProcessingUnitDeployment scale(EagerScaleConfig strategy)
EagerScaleTopologyscale in interface EagerScaleTopologyEagerScaleConfig,
EagerScaleConfigurerpublic ElasticStatefulProcessingUnitDeployment scale(ManualCapacityScaleConfig strategy)
ManualCapacityScaleTopologyscale in interface ManualCapacityScaleTopologyManualCapacityScaleConfig,
ManualCapacityScaleConfigurerpublic ElasticStatefulProcessingUnitDeployment name(String name)
ElasticDeploymentTopologyname in interface ElasticDeploymentTopologyname in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment addContextProperty(String key, String value)
ElasticDeploymentTopology${...} defined within a
processing unit configuration.addContextProperty in interface ElasticDeploymentTopologyaddContextProperty in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment secured(boolean secured)
ProcessingUnitDeploymentTopologysecured in interface ProcessingUnitDeploymentTopologysecured in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment userDetails(UserDetails userDetails)
ProcessingUnitDeploymentTopologyuserDetails in interface ProcessingUnitDeploymentTopologyuserDetails in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment userDetails(String userName, String password)
ProcessingUnitDeploymentTopologyuserDetails in interface ProcessingUnitDeploymentTopologyuserDetails in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment useScriptToStartContainer()
AbstractElasticProcessingUnitDeploymentGridServiceContainer to be started using a
script and not a pure Java process.useScriptToStartContainer in interface ElasticDeploymentTopologyuseScriptToStartContainer in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment overrideCommandLineArguments()
AbstractElasticProcessingUnitDeploymentAbstractElasticProcessingUnitDeployment.commandLineArgument(String) to override all the
vm arguments that the JVM will start by default with.overrideCommandLineArguments in interface ElasticDeploymentTopologyoverrideCommandLineArguments in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment commandLineArgument(String vmInputArgument)
AbstractElasticProcessingUnitDeployment-Xmx512m.commandLineArgument in interface ElasticDeploymentTopologycommandLineArgument in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment addCommandLineArgument(String vmInputArgument)
ElasticDeploymentTopology-Xmx512m.addCommandLineArgument in interface ElasticDeploymentTopologypublic ElasticStatefulProcessingUnitDeployment environmentVariable(String name, String value)
AbstractElasticProcessingUnitDeploymentenvironmentVariable in interface ElasticDeploymentTopologyenvironmentVariable in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment addEnvironmentVariable(String name, String value)
ElasticDeploymentTopologyaddEnvironmentVariable in interface ElasticDeploymentTopologypublic ElasticStatefulProcessingUnitDeployment dedicatedMachineProvisioning(ElasticMachineProvisioningConfig config)
ElasticDeploymentTopologyThe machines returned by the 'machine provisioner' will be dedicated to the instances of this processing unit. In other words, this processing unit will not share the machines with other processing units.
See also DiscoveredMachineProvisioningConfig for configuring deployment on
a non-virtualized environment. Machines are discovered if 'Grid Service Agents' are running
on them.
dedicatedMachineProvisioning in interface ElasticDeploymentTopologydedicatedMachineProvisioning in class AbstractElasticProcessingUnitDeploymentElasticDeploymentTopology.sharedMachineProvisioning(String, ElasticMachineProvisioningConfig)public ElasticStatefulProcessingUnitDeployment publicMachineProvisioning(ElasticMachineProvisioningConfig config)
ElasticDeploymentTopologyThe machines returned by the 'machine provisioner' will be shared by any other instance using publicMachineProvisioning or any non-elastic processing unit instance.
publicMachineProvisioning in interface ElasticDeploymentTopologypublicMachineProvisioning in class AbstractElasticProcessingUnitDeploymentpublic ElasticStatefulProcessingUnitDeployment sharedMachineProvisioning(String sharingId, ElasticMachineProvisioningConfig config)
ElasticDeploymentTopologyThe machines returned by the 'machine provisioner' will be shared by other processing unit instances with the same sharingId.
See also DiscoveredMachineProvisioningConfig for
configuring deployment on a non-virtualized environment. Machines are discovered if 'Grid
Service Agents' are running on them.
sharedMachineProvisioning in interface ElasticDeploymentTopologyElasticDeploymentTopology.dedicatedMachineProvisioning(ElasticMachineProvisioningConfig)public ElasticStatefulProcessingUnitDeployment addDependency(String requiredProcessingUnitName)
ProcessingUnitDeploymentTopologyaddDependency in interface ProcessingUnitDeploymentTopologypublic ElasticStatefulProcessingUnitDeployment addDependencies(ProcessingUnitDetailedDependencies<? extends ProcessingUnitDependency> detailedDependencies)
ProcessingUnitDeploymentTopologyaddDependencies in interface ProcessingUnitDeploymentTopologyaddDependencies in class AbstractElasticProcessingUnitDeploymentProcessingUnitDeploymentDependenciesConfigurerpublic ElasticStatefulProcessingUnitConfig create()
ProcessingUnitDeploymentTopologycreate in interface ProcessingUnitDeploymentTopologyprotected ElasticStatefulProcessingUnitConfig getConfig()
getConfig in class AbstractElasticProcessingUnitDeploymentCopyright © GigaSpaces.