org.openspaces.core.gateway
Class GSCForkHandler
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Log logger
AGENT_EXT_JAVA_OPTIONS
public static final String AGENT_EXT_JAVA_OPTIONS
- See Also:
- Constant Field Values
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
-
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.
Copyright © GigaSpaces.