public class LookupServiceOptions extends Object
LookupService
process options to be started by the GridServiceAgent
.GridServiceAgent.startGridService(LookupServiceOptions)
Constructor and Description |
---|
LookupServiceOptions()
Constructs a new lookup service options.
|
Modifier and Type | Method and Description |
---|---|
LookupServiceOptions |
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 LUS options.
|
LookupServiceOptions |
overrideVmInputArguments()
Will cause JVM options added using
vmInputArgument(String) to override all the vm
arguments that the JVM will start by default with. |
LookupServiceOptions |
useScript()
Will cause the
LookupService to be started using a script
and not a pure Java process. |
LookupServiceOptions |
vmInputArgument(String vmInputArgument)
Will add a JVM level argument when the process is executed using pure JVM.
|
public LookupServiceOptions()
public LookupServiceOptions useScript()
LookupService
to be started using a script
and not a pure Java process.public LookupServiceOptions overrideVmInputArguments()
vmInputArgument(String)
to override all the vm
arguments that the JVM will start by default with.public LookupServiceOptions vmInputArgument(String vmInputArgument)
-Xmx512m
.public LookupServiceOptions environmentVariable(String name, String value)
public com.gigaspaces.grid.gsa.GSProcessOptions getOptions()
Copyright © GigaSpaces.