Package org.openspaces.admin.gsa
Class GridServiceOptions
java.lang.Object
org.openspaces.admin.gsa.GridServiceOptions
A generic process options.
- Author:
- kimchy
-
Constructor Summary
ConstructorsConstructorDescriptionGridServiceOptions(String type) Constructs a new grid service options with the given process type. -
Method Summary
Modifier and TypeMethodDescriptionWill add a process level argument.environmentVariable(String name, String value) Sets an environment variable that will be passed to forked process.com.gigaspaces.grid.gsa.GSProcessOptionsReturns the agent process options that represents what was set on this generic service options.Will cause the process arguments added usingargument(String)to override any arguments defined in the process descriptor.Will cause JVM options added usingvmInputArgument(String)to override all the vm arguments that the JVM will start by default with.Will use a scipt to start the process, and not a pure JVM process.vmInputArgument(String vmInputArgument) Will add a JVM level argument when the process is executed using pure JVM.
-
Constructor Details
-
GridServiceOptions
Constructs a new grid service options with the given process type. By default, will use JVM to start it.
-
-
Method Details
-
useScript
Will use a scipt to start the process, and not a pure JVM 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. -
overrideArguments
Will cause the process arguments added usingargument(String)to override any arguments defined in the process descriptor. -
argument
Will add a process level argument. -
environmentVariable
Sets an environment variable that will be passed to forked process. -
getOptions
public com.gigaspaces.grid.gsa.GSProcessOptions getOptions()Returns the agent process options that represents what was set on this generic service options.
-