GigaSpaces XAP 9.1 API

org.openspaces.core.gateway
Class GSCForkHandler

java.lang.Object
  extended by org.openspaces.core.gateway.GSCForkHandler

public class GSCForkHandler
extends Object

A class responsible for forking a new GSC for the WAN Gateway, and relocating this PU instance (the gateway) to the new container. Forking is performed with the admin api, or by calling the GSC script directly.

Since:
8.0.3
Author:
barakme, eitany

Field Summary
static String AGENT_EXT_JAVA_OPTIONS
           
protected  Log logger
           
 
Constructor Summary
GSCForkHandler(int lrmiPort, int discoveryPort, boolean startEmbeddedLus, ProcessingUnitInstance pui, String customJvmProperties)
          Constructor.
 
Method Summary
 void movePuToAlternativeGSC()
          This is the main entry point of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Log logger

AGENT_EXT_JAVA_OPTIONS

public static final String AGENT_EXT_JAVA_OPTIONS
See Also:
Constant Field Values
Constructor Detail

GSCForkHandler

public GSCForkHandler(int lrmiPort,
                      int discoveryPort,
                      boolean startEmbeddedLus,
                      ProcessingUnitInstance pui,
                      String customJvmProperties)
Constructor.

Parameters:
lrmiPort - the target GSC port.
discoveryPort - the target discovery port.
startEmbeddedLus -
pui - the PU instance object of the current PU.
customJvmProperties -
Method Detail

movePuToAlternativeGSC

public void movePuToAlternativeGSC()
This is the main entry point of this class. This method creates a new GSC and moves this PUI to the new GSC.


GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.