public interface RecoveryManager
Modifier and Type | Method and Description |
---|---|
void |
onAliveReceived(int producerId,
long aliveGenTimestamp,
long receivedTimestamp,
boolean subscribed,
boolean isSystemSession)
Method invoked when the message of type "Alive" is received
|
void |
onMessageProcessingEnded(int uniqueMessageProcessorIdentifier,
int producerId,
Long processedMessageGenTimestamp,
String eventId)
Method invoked when the AMQP message processing ended
|
void |
onMessageProcessingStarted(int uniqueMessageProcessorIdentifier,
int producerId,
Long requestId,
long now)
Method invoked when the AMQP message processing started
|
void |
onSnapshotCompleteReceived(int producerId,
long now,
long requestId,
MessageInterest sessionMessageInterest)
Method invoked when the message of type "SnapshotComplete" is received
|
void onMessageProcessingStarted(int uniqueMessageProcessorIdentifier, int producerId, Long requestId, long now)
uniqueMessageProcessorIdentifier
- a unique representation of the message processor invoking the methodproducerId
- the source producer of the messagerequestId
- the recovery request id of the message (if present)now
- the current timestampvoid onMessageProcessingEnded(int uniqueMessageProcessorIdentifier, int producerId, Long processedMessageGenTimestamp, String eventId)
uniqueMessageProcessorIdentifier
- a unique representation of the message processor invoking the methodproducerId
- the source producer of the messageprocessedMessageGenTimestamp
- the generated timestamp of the processed messageeventId
- the eventId associated with feed message (if present)void onAliveReceived(int producerId, long aliveGenTimestamp, long receivedTimestamp, boolean subscribed, boolean isSystemSession)
producerId
- the producer which generated the Alive messagealiveGenTimestamp
- the message generation timestampreceivedTimestamp
- the timestamp of when the message was receivedsubscribed
- an indication if the Alive message was sent from a producer that the SDK is subscribed toisSystemSession
- an indication if the alive was received on the system sessionvoid onSnapshotCompleteReceived(int producerId, long now, long requestId, MessageInterest sessionMessageInterest)
producerId
- the producer which generated the Alive messagenow
- the timestamp of when the message was receivedrequestId
- the request id that is the cause of the SnapshotCompletesessionMessageInterest
- the message interest of the session that received the messageCopyright © 2016–2025. All rights reserved.