MigratoryDataCacheListener::CacheRecoveryEvent

Provide information about a cache access by recovery.

Inherits from Event

Public Functions

Name
String getSubject()
Provides the subject of the historical messages to be recovered.
String getRemoteAddress()
Provides the address of the client which accessed the cache.
int getSeqNo()
Provides the sequence number used to recover the historical messages.
int getEpochNo()
Provides the epoch number used to recover the historical messages.
List< CacheEntry > getMessages()
Provides the list of the recovered historical messages.
Map< String, Object > getAdditionalInfo()
Get additional attributes of the user as key/value pairs.

Public Functions Documentation

function getSubject

String getSubject()

Provides the subject of the historical messages to be recovered.

Return: the subject of the historical message to be recovered

function getRemoteAddress

String getRemoteAddress()

Provides the address of the client which accessed the cache.

Return: the address of the client which accessed the cache

function getSeqNo

int getSeqNo()

Provides the sequence number used to recover the historical messages.

Return: the sequence number for recovering the historical messages from the cache

function getEpochNo

int getEpochNo()

Provides the epoch number used to recover the historical messages.

Return: the epoch number for recovering the historical messages from the cache

function getMessages

List< CacheEntry > getMessages()

Provides the list of the recovered historical messages.

Return: the list of the recovered historical messages

function getAdditionalInfo

Map< String, Object > getAdditionalInfo()

Get additional attributes of the user as key/value pairs.

Return: a map with additional attributes

No additional attributes are currently available.


Updated on 9 November 2020 at 21:01:04 EET