public class GridServiceOptions extends Object
Constructor and Description |
---|
GridServiceOptions(String type)
Constructs a new grid service options with the given process type.
|
Modifier and Type | Method and Description |
---|---|
GridServiceOptions |
argument(String argument)
Will add a process level argument.
|
GridServiceOptions |
environmentVariable(String name,
String value)
Sets an environment variable that will be passed to forked process.
|
com.gigaspaces.grid.gsa.GSProcessOptions |
getOptions()
Returns the agent process options that represents what was set on this generic service options.
|
GridServiceOptions |
overrideArguments()
Will cause the process arguments added using
argument(String) to override any arguments defined
in the process descriptor. |
GridServiceOptions |
overrideVmInputArguments()
Will cause JVM options added using
vmInputArgument(String) to override all the vm arguments
that the JVM will start by default with. |
GridServiceOptions |
useScript()
Will use a scipt to start the process, and not a pure JVM process.
|
GridServiceOptions |
vmInputArgument(String vmInputArgument)
Will add a JVM level argument when the process is executed using pure JVM.
|
public GridServiceOptions(String type)
public GridServiceOptions useScript()
public GridServiceOptions overrideVmInputArguments()
vmInputArgument(String)
to override all the vm arguments
that the JVM will start by default with.public GridServiceOptions vmInputArgument(String vmInputArgument)
-Xmx512m
.public GridServiceOptions overrideArguments()
argument(String)
to override any arguments defined
in the process descriptor.public GridServiceOptions argument(String argument)
public GridServiceOptions environmentVariable(String name, String value)
public com.gigaspaces.grid.gsa.GSProcessOptions getOptions()
Copyright © GigaSpaces.