Package | Description |
---|---|
org.openspaces.admin.gsa |
Support for managing of Grid Service Agent(s) through the Admin API.
|
Modifier and Type | Method and Description |
---|---|
ElasticServiceManagerOptions |
ElasticServiceManagerOptions.environmentVariable(String name,
String value)
Sets an environment variable that will be passed to forked process.
|
ElasticServiceManagerOptions |
ElasticServiceManagerOptions.overrideVmInputArguments()
Will cause JVM options added using
vmInputArgument(String) to override all the vm arguments
that the JVM will start by default with. |
ElasticServiceManagerOptions |
ElasticServiceManagerOptions.useScript()
Will cause the
ElasticServiceManager to be started using a script
and not a pure Java process. |
ElasticServiceManagerOptions |
ElasticServiceManagerOptions.vmInputArgument(String vmInputArgument)
Will add a JVM level argument when the process is executed using pure JVM.
|
Modifier and Type | Method and Description |
---|---|
void |
GridServiceAgent.startGridService(ElasticServiceManagerOptions options)
Starts a
ElasticServiceManager based on the provided options. |
ElasticServiceManager |
GridServiceAgent.startGridServiceAndWait(ElasticServiceManagerOptions options)
Starts a
ElasticServiceManager based on the provided options and waits
indefinitely until it is discovered by the admin, which is then returned. |
ElasticServiceManager |
GridServiceAgent.startGridServiceAndWait(ElasticServiceManagerOptions options,
long timeout,
TimeUnit timeUnit)
Starts a
ElasticServiceManager based on the provided options and waits
for the given timeout (in time unit) until it is discovered by the admin, which is then returned. |
Copyright © GigaSpaces.