Class NotifyBackupLog
java.lang.Object
com.gigaspaces.internal.server.space.events.NotifyBackupLog
- All Implemented Interfaces:
IReplicationInNotificationSentHandler
Holds a log of all the notifications that were received via replication from the primary.
Notifications are held until client receives them.
- Since:
- 7.0
- Author:
- anna
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(RemoteEventBusPacket packet) Stored notify events that were generated by replication only on backupvoidclear()Clear the backup log - called when space becomes primaryvoidclearTriggered(OperationID operationId) Check if all notifications were received and clear themvoidinNotificationSent(IReplicationInContext context, OperationID operationId) void
-
Constructor Details
-
NotifyBackupLog
-
-
Method Details
-
add
Stored notify events that were generated by replication only on backup -
clearTriggered
Check if all notifications were received and clear them -
clear
public void clear()Clear the backup log - called when space becomes primary -
inNotificationSent
public void inNotificationSent(IReplicationInContext context, OperationID operationId) throws RemoteException - Specified by:
inNotificationSentin interfaceIReplicationInNotificationSentHandler- Throws:
RemoteException
-
processOutgoingEvents
public void processOutgoingEvents()
-