Class ReplicationSink
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.gateway.lus.LusExportedReplicationComponent
com.gigaspaces.internal.cluster.node.impl.gateway.sink.ReplicationSink
- All Implemented Interfaces:
IReplicationLookupRegistrationListener
Acts as a sink for incoming replication
- Since:
- 8.0.3
- Author:
- eitany
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReplicationSink(String myLookupName, IReplicationLookupRegistrationService lookupService, IReplicationLookupParameters registrationParameters, IServiceExporter serviceExporter, IIncomingReplicationFacadeProvider nodeProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCalled once the component is registration at the lookup service is initiated.protected voidonClose()protected <T> TonDispatch(AbstractReplicationPacket<T> packet) Called once an incoming packet is dispatchedvoidMethods inherited from class com.gigaspaces.internal.cluster.node.impl.gateway.lus.LusExportedReplicationComponent
close, dispatch, dispatchAsync, getMyLookupName, getMyRegistrationParameters, getMySiteName, getMyUuid, getServiceExporter, initRegistration, isAvailable
-
Field Details
-
LOOKUP_NAME_PREFIX
- See Also:
-
-
Constructor Details
-
ReplicationSink
public ReplicationSink(String myLookupName, IReplicationLookupRegistrationService lookupService, IReplicationLookupParameters registrationParameters, IServiceExporter serviceExporter, IIncomingReplicationFacadeProvider nodeProvider)
-
-
Method Details
-
afterRegistrationInitiated
protected void afterRegistrationInitiated()Description copied from class:LusExportedReplicationComponentCalled once the component is registration at the lookup service is initiated.- Specified by:
afterRegistrationInitiatedin classLusExportedReplicationComponent
-
onRegistered
public void onRegistered() -
onDispatch
Description copied from class:LusExportedReplicationComponentCalled once an incoming packet is dispatched- Specified by:
onDispatchin classLusExportedReplicationComponent- Throws:
RemoteException
-
onClose
protected void onClose()- Overrides:
onClosein classLusExportedReplicationComponent
-