public class GridServiceContainerOptions extends Object
GridServiceContainer
process options to be started by the
GridServiceAgent
.GridServiceAgent.startGridService(GridServiceContainerOptions)
Constructor and Description |
---|
GridServiceContainerOptions()
Constructs a new grid service container options.
|
Modifier and Type | Method and Description |
---|---|
GridServiceContainerOptions |
environmentVariable(String name,
String value)
Sets an environment variable that will be passed to forked process.
|
boolean |
equals(Object other) |
com.gigaspaces.grid.gsa.GSProcessOptions |
getOptions()
Returns the agent process options that represents what was set on this GSC options.
|
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 |
restartOnExit(com.gigaspaces.grid.gsa.GSProcessRestartOnExit restartOnExit)
Sets the agent policy for be restart the container on exit.
|
GridServiceContainerOptions |
useScript()
Will cause the
GridServiceContainer to be started using a script
and not a pure Java process. |
GridServiceContainerOptions |
vmInputArgument(String vmInputArgument)
Will add a JVM level argument when the process is executed using pure JVM.
|
public GridServiceContainerOptions()
public GridServiceContainerOptions useScript()
GridServiceContainer
to be started using a script
and not a pure Java process.public GridServiceContainerOptions overrideVmInputArguments()
vmInputArgument(String)
to override all the vm arguments
that the JVM will start by default with.public GridServiceContainerOptions vmInputArgument(String vmInputArgument)
-Xmx512m
.public GridServiceContainerOptions environmentVariable(String name, String value)
public GridServiceContainerOptions restartOnExit(com.gigaspaces.grid.gsa.GSProcessRestartOnExit restartOnExit)
public com.gigaspaces.grid.gsa.GSProcessOptions getOptions()
Copyright © GigaSpaces.