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  trueif this sink has a source gateway with the specified name;falseotherwise. | 
| 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()
GatewaySinkgetGatewayProcessingUnit in interface GatewaySinkpublic void enableIncomingReplication()
GatewaySinkGatewaySink.requiresBootstrapOnStartup() and no bootstrap was executed yet, otherwise the
 sink incoming replication is already enabled.enableIncomingReplication in interface GatewaySinkpublic GatewaySinkSource[] getSources()
GatewaySinkgetSources in interface GatewaySinkpublic boolean containsSource(String sourceGatewayName)
GatewaySinktrue if this sink has a source gateway with the specified name;
 false otherwise.containsSource in interface GatewaySinkpublic GatewaySinkSource getSourceByName(String sourceGatewayName)
GatewaySinkgetSourceByName in interface GatewaySinkpublic boolean requiresBootstrapOnStartup()
GatewaySinkrequiresBootstrapOnStartup in interface GatewaySinkpublic String getLocalSpaceUrl()
GatewaySinkgetLocalSpaceUrl in interface GatewaySinkCopyright © GigaSpaces.