Class DefaultGatewaySink
java.lang.Object
org.openspaces.admin.internal.gateway.DefaultGatewaySink
- All Implemented Interfaces:
GatewaySink
- Since:
- 8.0.4
- Author:
- eitany
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDefaultGatewaySink(DefaultGatewayProcessingUnit gatewayProcessingUnit, GatewaySinkServiceDetails sinkServiceDetails) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsSource(String sourceGatewayName) Returnstrueif this sink has a source gateway with the specified name;falseotherwise.voidEnables incoming replication for this sink, only relevant if this sinkGatewaySink.requiresBootstrapOnStartup()and no bootstrap was executed yet, otherwise the sink incoming replication is already enabled.Returns the gateway this sink is part of.Returns the url of the space this sink is replicating in to.getSourceByName(String sourceGatewayName) Returns a gateway sink source for the specified source gateway name or null if no such gateway sink source exists.Returns the gateway sink sources of this sink.booleanReturns whether this sink is configured to require a bootstrap on startup.
-
Constructor Details
-
DefaultGatewaySink
public DefaultGatewaySink(DefaultGatewayProcessingUnit gatewayProcessingUnit, GatewaySinkServiceDetails sinkServiceDetails)
-
-
Method Details
-
getGatewayProcessingUnit
Description copied from interface:GatewaySinkReturns the gateway this sink is part of.- Specified by:
getGatewayProcessingUnitin interfaceGatewaySink
-
enableIncomingReplication
public void enableIncomingReplication()Description copied from interface:GatewaySinkEnables incoming replication for this sink, only relevant if this sinkGatewaySink.requiresBootstrapOnStartup()and no bootstrap was executed yet, otherwise the sink incoming replication is already enabled.- Specified by:
enableIncomingReplicationin interfaceGatewaySink
-
getSources
Description copied from interface:GatewaySinkReturns the gateway sink sources of this sink.- Specified by:
getSourcesin interfaceGatewaySink
-
containsSource
Description copied from interface:GatewaySinkReturnstrueif this sink has a source gateway with the specified name;falseotherwise.- Specified by:
containsSourcein interfaceGatewaySink
-
getSourceByName
Description copied from interface:GatewaySinkReturns a gateway sink source for the specified source gateway name or null if no such gateway sink source exists.- Specified by:
getSourceByNamein interfaceGatewaySink
-
requiresBootstrapOnStartup
public boolean requiresBootstrapOnStartup()Description copied from interface:GatewaySinkReturns whether this sink is configured to require a bootstrap on startup.- Specified by:
requiresBootstrapOnStartupin interfaceGatewaySink
-
getLocalSpaceUrl
Description copied from interface:GatewaySinkReturns the url of the space this sink is replicating in to.- Specified by:
getLocalSpaceUrlin interfaceGatewaySink
-