Class BootstrapUtility

java.lang.Object
org.openspaces.core.gateway.BootstrapUtility

@Deprecated public class BootstrapUtility extends Object
Deprecated.
Since 8.0.4 - use GatewaySinkSource API instead.
Gateway bootstrap utilities
Since:
8.0.3
Author:
eitany
  • 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.
      Bootstrap a gateway from a remote gateway
      Parameters:
      admin - admin of the service grid environment that contains the gateway sink processing unit that should bootstrap
      gatewaySinkPuName - the name of the processing unit the gateway sink is deployed under
      sourceGatewayName - the source gateway name to bootstrap from
      timeout - 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 - use GatewaySink.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 unit
      gatewaySinkPuName - the name of the processing unit the gateway sink is deployed under
      Throws:
      TimeoutException