Package org.openspaces.admin.gsa
Class GridServiceContainerOptions
java.lang.Object
org.openspaces.admin.gsa.GridServiceContainerOptions
GridServiceContainer process options to be started by the GridServiceAgent.- Author:
- kimchy
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new grid service container options. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()environmentVariable(String name, String value) Sets an environment variable that will be passed to forked process.booleancom.gigaspaces.grid.gsa.GSProcessOptionsReturns the agent process options that represents what was set on this GSC options.Will cause JVM options added usingvmInputArgument(String)to override all the vm arguments that the JVM will start by default with.restartOnExit(com.gigaspaces.grid.gsa.GSProcessRestartOnExit restartOnExit) Sets the agent policy for be restart the container on exit.Will cause theGridServiceContainerto be started using a script and not a pure Java process.vmInputArgument(String vmInputArgument) Will add a JVM level argument when the process is executed using pure JVM.vmInputArguments(Collection<String> vmInputArguments) Will add a JVM level arguments when the process is executed using pure JVM.
-
Constructor Details
-
GridServiceContainerOptions
public GridServiceContainerOptions()Constructs a new grid service container options. By default will use JVM process execution.
-
-
Method Details
-
useScript
Will cause theGridServiceContainerto be started using a script and not a pure Java process. -
overrideVmInputArguments
Will cause JVM options added usingvmInputArgument(String)to override all the vm arguments that the JVM will start by default with. -
vmInputArgument
Will add a JVM level argument when the process is executed using pure JVM. For example, the memory can be controlled using-Xmx512m. -
vmInputArguments
Will add a JVM level arguments when the process is executed using pure JVM. For example, the memory can be controlled using-Xmx512m. -
environmentVariable
Sets an environment variable that will be passed to forked process. -
restartOnExit
public GridServiceContainerOptions restartOnExit(com.gigaspaces.grid.gsa.GSProcessRestartOnExit restartOnExit) Sets the agent policy for be restart the container on exit. -
getOptions
public com.gigaspaces.grid.gsa.GSProcessOptions getOptions()Returns the agent process options that represents what was set on this GSC options. -
equals
-
builder
-