| Package | Description | 
|---|---|
| org.openspaces.admin.gsa | 
 Support for managing of Grid Service Agent(s) through the Admin API. 
 | 
| org.openspaces.admin.internal.gsa | 
 Internally Used. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
GridServiceContainerOptions | 
GridServiceContainerOptions.environmentVariable(String name,
                   String value)
Sets an environment variable that will be passed to forked process. 
 | 
GridServiceContainerOptions | 
GridServiceContainerOptions.overrideVmInputArguments()
Will cause JVM options added using  
vmInputArgument(String) to override all the vm
 arguments that the JVM will start by default with. | 
GridServiceContainerOptions | 
GridServiceContainerOptions.restartOnExit(com.gigaspaces.grid.gsa.GSProcessRestartOnExit restartOnExit)
Sets the agent policy for be restart the container on exit. 
 | 
GridServiceContainerOptions | 
GridServiceContainerOptions.useScript()
Will cause the  
GridServiceContainer to be started using a
 script and not a pure Java process. | 
GridServiceContainerOptions | 
GridServiceContainerOptions.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(GridServiceContainerOptions options)
Starts a  
GridServiceContainer based on the provided
 options. | 
GridServiceContainer | 
GridServiceAgent.startGridServiceAndWait(GridServiceContainerOptions options)
Starts a  
GridServiceContainer based on the provided options
 and waits indefinitely until it is discovered by the admin, which is then returned. | 
GridServiceContainer | 
GridServiceAgent.startGridServiceAndWait(GridServiceContainerOptions options,
                       long timeout,
                       TimeUnit timeUnit)
Starts a  
GridServiceContainer 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. | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
DefaultGridServiceAgent.internalStartGridService(GridServiceContainerOptions options)  | 
void | 
DefaultGridServiceAgent.startGridService(GridServiceContainerOptions options)  | 
GridServiceContainer | 
DefaultGridServiceAgent.startGridServiceAndWait(GridServiceContainerOptions options)  | 
GridServiceContainer | 
DefaultGridServiceAgent.startGridServiceAndWait(GridServiceContainerOptions options,
                       long timeout,
                       TimeUnit timeUnit)  | 
Copyright © GigaSpaces.