GigaSpaces XAP 9.7.2 API

org.openspaces.admin.gsa
Class LookupServiceOptions

java.lang.Object
  extended by org.openspaces.admin.gsa.LookupServiceOptions

public class LookupServiceOptions
extends Object

LookupService process options to be started by the GridServiceAgent.

Author:
kimchy
See Also:
GridServiceAgent.startGridService(LookupServiceOptions)

Constructor Summary
LookupServiceOptions()
          Constructs a new lookup service options.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupServiceOptions

public LookupServiceOptions()
Constructs a new lookup service options. By default will use JVM process execution.

Method Detail

useScript

public LookupServiceOptions useScript()
Will cause the LookupService to be started using a script and not a pure Java process.


overrideVmInputArguments

public LookupServiceOptions overrideVmInputArguments()
Will cause JVM options added using vmInputArgument(String) to override all the vm arguments that the JVM will start by default with.


vmInputArgument

public LookupServiceOptions vmInputArgument(String vmInputArgument)
Will add a JVM level argument when the process is executed using pure JVM. For example, the memory can be controlled using -Xmx512m.


environmentVariable

public LookupServiceOptions environmentVariable(String name,
                                                String value)
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 LUS options.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.