|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.admin.gsa.GridServiceOptions
public class GridServiceOptions
A generic process options.
| Constructor Summary | |
|---|---|
GridServiceOptions(String type)
Constructs a new grid service options with the given process type. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridServiceOptions(String type)
| Method Detail |
|---|
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()
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||