Class GridServiceManagerOptions

java.lang.Object
org.openspaces.admin.gsa.GridServiceManagerOptions

public class GridServiceManagerOptions extends Object
GridServiceManager process options to be started by the GridServiceAgent.
Author:
kimchy
See Also:
  • Constructor Details

    • GridServiceManagerOptions

      public GridServiceManagerOptions()
      Constructs a new grid service manager options. By default will use JVM process execution.
  • Method Details

    • useScript

      public GridServiceManagerOptions useScript()
      Will cause the GridServiceManager to be started using a script and not a pure Java process.
    • overrideVmInputArguments

      public GridServiceManagerOptions 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 GridServiceManagerOptions 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 GridServiceManagerOptions 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 GSM options.