Package org.openspaces.admin.gateway
Interface GatewaySinkSource
- All Known Implementing Classes:
DefaultGatewaySink.DefaultGatewaySinkSource
public interface GatewaySinkSource
A sink source is the target end point of a remote
Gateway which is replicating into this
gateway's sink.- Since:
- 8.0.4
- Author:
- eitany
-
Method Summary
Modifier and TypeMethodDescriptionBootstrap the localSpacewhich is associated to this sink from a remote space.bootstrapFromGatewayAndWait(long timeout, TimeUnit timeUnit) Bootstrap the localSpacewhich is associated to this sink from a remote space.getSink()Returns the sink this source is part of.Returns the name of the remote gateway which this source acts as its end point.
-
Method Details
-
getSink
GatewaySink getSink()Returns the sink this source is part of. -
getSourceGatewayName
String getSourceGatewayName()Returns the name of the remote gateway which this source acts as its end point. -
bootstrapFromGatewayAndWait
BootstrapResult bootstrapFromGatewayAndWait()Bootstrap the localSpacewhich is associated to this sink from a remote space. This bootstrap request will use default timeout set byAdmin.setDefaultTimeout(long, TimeUnit)A bootstrap request can only be executed if this sinkGatewaySink.requiresBootstrapOnStartup().- Returns:
- A bootstrap result
-
bootstrapFromGatewayAndWait
Bootstrap the localSpacewhich is associated to this sink from a remote space. This bootstrap request will use the provided timeout. A bootstrap request can only be executed if this sinkGatewaySink.requiresBootstrapOnStartup().- Returns:
- A bootstrap result
-