public interface GatewaySink
GatewayProcessingUnit
component which handles incoming replication from other
gateways. The sink is also used to bootstrap a space from another space, and it takes part in
both sides of the bootstrap process. It is used for initiating a bootstrap process and replicate
incoming data of the bootstrap process to the local Space
. And it is used to respond to a
remote bootstrap request by providing the relevant bootstrap data to the remote sink.Modifier and Type | Method and Description |
---|---|
boolean |
containsSource(String sourceGatewayName)
Returns
true if this sink has a source gateway with the specified name;
false otherwise. |
void |
enableIncomingReplication()
Enables incoming replication for this sink, only relevant if this sink
requiresBootstrapOnStartup() and no bootstrap was executed yet, otherwise the
sink incoming replication is already enabled. |
GatewayProcessingUnit |
getGatewayProcessingUnit()
Returns the gateway this sink is part of.
|
String |
getLocalSpaceUrl()
Returns the url of the space this sink is replicating in to.
|
GatewaySinkSource |
getSourceByName(String sourceGatewayName)
Returns a gateway sink source for the specified source gateway name or null if no such
gateway sink source exists.
|
GatewaySinkSource[] |
getSources()
Returns the gateway sink sources of this sink.
|
boolean |
requiresBootstrapOnStartup()
Returns whether this sink is configured to require a bootstrap on startup.
|
GatewayProcessingUnit getGatewayProcessingUnit()
void enableIncomingReplication()
requiresBootstrapOnStartup()
and no bootstrap was executed yet, otherwise the
sink incoming replication is already enabled.GatewaySinkSource[] getSources()
boolean containsSource(String sourceGatewayName)
true
if this sink has a source gateway with the specified name;
false
otherwise.GatewaySinkSource getSourceByName(String sourceGatewayName)
boolean requiresBootstrapOnStartup()
String getLocalSpaceUrl()
Copyright © GigaSpaces.