Package org.openspaces.core.gateway
Class BootstrapUtility
java.lang.Object
org.openspaces.core.gateway.BootstrapUtility
Deprecated.
Gateway bootstrap utilities
- Since:
- 8.0.3
- Author:
- eitany
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbootstrap(Admin admin, String gatewaySinkPuName, String sourceGatewayName, long timeout, TimeUnit timeUnit) Deprecated.Since 8.0.4 - useGatewaySinkSource.bootstrapFromGatewayAndWait()instead.static voidenableIncomingReplication(Admin admin, String gatewaySinkPuName, long timeout, TimeUnit timeUnit) Deprecated.Since 8.0.4 - useGatewaySink.enableIncomingReplication()instead.
-
Constructor Details
-
BootstrapUtility
public BootstrapUtility()Deprecated.
-
-
Method Details
-
bootstrap
@Deprecated public static void bootstrap(Admin admin, String gatewaySinkPuName, String sourceGatewayName, long timeout, TimeUnit timeUnit) throws Exception Deprecated.Since 8.0.4 - useGatewaySinkSource.bootstrapFromGatewayAndWait()instead.Bootstrap a gateway from a remote gateway- Parameters:
admin- admin of the service grid environment that contains the gateway sink processing unit that should bootstrapgatewaySinkPuName- the name of the processing unit the gateway sink is deployed undersourceGatewayName- the source gateway name to bootstrap fromtimeout- timeout for operation- Throws:
Exception
-
enableIncomingReplication
@Deprecated public static void enableIncomingReplication(Admin admin, String gatewaySinkPuName, long timeout, TimeUnit timeUnit) throws TimeoutException Deprecated.Since 8.0.4 - useGatewaySink.enableIncomingReplication()instead.Enables incoming replication to a gateway sink that require bootstrap but was not bootstrap yet.- Parameters:
admin- admin of the service grid environment that contains the gateway sink processing unitgatewaySinkPuName- the name of the processing unit the gateway sink is deployed under- Throws:
TimeoutException
-
GatewaySinkSourceAPI instead.