@Deprecated public interface ElasticDeploymentTopology extends ProcessingUnitDeploymentTopology
Modifier and Type | Method and Description |
---|---|
ElasticDeploymentTopology |
addCommandLineArgument(String vmInputArgument)
Deprecated.
Will add a JVM level argument when the process is executed using pure JVM.
|
ElasticDeploymentTopology |
addContextProperty(String key,
String value)
Deprecated.
Defines a context deploy time property overriding any
${...} defined within a
processing unit configuration. |
ElasticDeploymentTopology |
addEnvironmentVariable(String name,
String value)
Deprecated.
Defines an environment variable that will be passed to forked process.
|
ElasticDeploymentTopology |
commandLineArgument(String vmInputArgument)
Deprecated.
Will add a JVM level argument when the process is executed using pure JVM.
|
ElasticDeploymentTopology |
dedicatedMachineProvisioning(ElasticMachineProvisioningConfig config)
Deprecated.
Configure the server side bean that starts and stops machines automatically.
|
ElasticDeploymentTopology |
environmentVariable(String name,
String value)
Deprecated.
Defines an environment variable that will be passed to forked process.
|
ElasticDeploymentTopology |
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")
|
ElasticDeploymentTopology |
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")
|
ElasticDeploymentTopology |
name(String name)
Deprecated.
Sets the processing unit name that will be deployed.
|
ElasticDeploymentTopology |
overrideCommandLineArguments()
Deprecated.
Will cause JVM options added using
commandLineArgument(String) to override all the
vm arguments that the JVM will start by default with. |
ElasticDeploymentTopology |
publicMachineProvisioning(ElasticMachineProvisioningConfig config)
Deprecated.
Configure the server side bean that starts and stops machines automatically.
|
ElasticDeploymentTopology |
sharedMachineProvisioning(String sharingId,
ElasticMachineProvisioningConfig config)
Deprecated.
Configure the server side bean that starts and stops machines automatically.
|
ElasticDeploymentTopology |
useScriptToStartContainer()
Deprecated.
Will cause the
GridServiceContainer to be started using a
script and not a pure Java process. |
addDependencies, addDependency, create, secured, userDetails, userDetails
ElasticDeploymentTopology name(String name)
ElasticDeploymentTopology addContextProperty(String key, String value)
${...}
defined within a
processing unit configuration.ElasticDeploymentTopology useScriptToStartContainer()
GridServiceContainer
to be started using a
script and not a pure Java process.ElasticDeploymentTopology overrideCommandLineArguments()
commandLineArgument(String)
to override all the
vm arguments that the JVM will start by default with.ElasticDeploymentTopology commandLineArgument(String vmInputArgument)
-Xmx512m
.
This method does not conform to the fluent API naming conventions. Use addCommandLineArgument
instead.ElasticDeploymentTopology addCommandLineArgument(String vmInputArgument)
-Xmx512m
.ElasticDeploymentTopology environmentVariable(String name, String value)
ElasticDeploymentTopology addEnvironmentVariable(String name, String value)
ElasticDeploymentTopology dedicatedMachineProvisioning(ElasticMachineProvisioningConfig config)
The 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.
ElasticDeploymentTopology sharedMachineProvisioning(String sharingId, ElasticMachineProvisioningConfig config)
The 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.
ElasticDeploymentTopology publicMachineProvisioning(ElasticMachineProvisioningConfig config)
The machines returned by the 'machine provisioner' will be shared by any other instance using publicMachineProvisioning or any non-elastic processing unit instance.
ElasticDeploymentTopology memoryCapacityPerContainer(int memoryCapacityPerContainer, MemoryUnit unit)
ElasticDeploymentTopology memoryCapacityPerContainer(String memoryCapacityPerContainer)
Copyright © GigaSpaces.