MigratoryDataCacheListener::CacheHistoryEvent

Provide information about a cache access by history.

Inherits from Event

Public Functions

Name
String getSubject()
Provides the subject of the historical messages to be retrieved.
String getRemoteAddress()
Provides the address of the client which accessed the cache.
int getHistoryNo()
Provides the number of the most recent historical messages to be retrieved from the cache.
List< CacheEntry > getMessages()
Provides the list of the retrieved historical message.
Map< String, Object > getAdditionalInfo()
Get additional attributes as key/value pairs.

Public Functions Documentation

function getSubject

String getSubject()

Provides the subject of the historical messages to be retrieved.

Return: the subject of the historical messages to be retrieved

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 getHistoryNo

int getHistoryNo()

Provides the number of the most recent historical messages to be retrieved from the cache.

Return: the number of the most recent historical messages to be retrieved from the cache

function getMessages

List< CacheEntry > getMessages()

Provides the list of the retrieved historical message.

Return: the list of the retrieved historical message

function getAdditionalInfo

Map< String, Object > getAdditionalInfo()

Get additional attributes as key/value pairs.

Return: a map with additional attributes

No additional attributes are currently available.