public class DefaultGatewaySink extends Object implements GatewaySink
Modifier and Type | Class and Description |
---|---|
class |
DefaultGatewaySink.DefaultGatewaySinkSource |
Constructor and Description |
---|
DefaultGatewaySink(DefaultGatewayProcessingUnit gatewayProcessingUnit,
GatewaySinkServiceDetails sinkServiceDetails) |
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
GatewaySink.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.
|
public DefaultGatewaySink(DefaultGatewayProcessingUnit gatewayProcessingUnit, GatewaySinkServiceDetails sinkServiceDetails)
public GatewayProcessingUnit getGatewayProcessingUnit()
GatewaySink
getGatewayProcessingUnit
in interface GatewaySink
public void enableIncomingReplication()
GatewaySink
GatewaySink.requiresBootstrapOnStartup()
and no bootstrap was executed yet, otherwise the
sink incoming replication is already enabled.enableIncomingReplication
in interface GatewaySink
public GatewaySinkSource[] getSources()
GatewaySink
getSources
in interface GatewaySink
public boolean containsSource(String sourceGatewayName)
GatewaySink
true
if this sink has a source gateway with the specified name;
false
otherwise.containsSource
in interface GatewaySink
public GatewaySinkSource getSourceByName(String sourceGatewayName)
GatewaySink
getSourceByName
in interface GatewaySink
public boolean requiresBootstrapOnStartup()
GatewaySink
requiresBootstrapOnStartup
in interface GatewaySink
public String getLocalSpaceUrl()
GatewaySink
getLocalSpaceUrl
in interface GatewaySink
Copyright © GigaSpaces.