MigratoryDataCacheListener

Handle various cache events. More…

Public Classes

Name
interface CacheAddEvent
Provide information about a cache entry creation.
interface CacheCleanEvent
Provide information about a cache entry deletion.
interface CacheEntry
Provide information about a cache entry.
interface CacheHistoryEvent
Provide information about a cache access by history.
interface CacheRecoveryEvent
Provide information about a cache access by recovery.
interface CacheStartEvent
Provide information about the cache creation/initialization.

Public Functions

Name
void onStart(CacheStartEvent event)
Notify that the cache has been created.
void onAdd(CacheAddEvent event)
Notify that a cache entry has been added.
void onClean(CacheCleanEvent event)
Notify that a cache entry has been deleted.
void onGetHistory(CacheHistoryEvent event)
Notify that a cache access by history has been made.
void onGetRecovery(CacheRecoveryEvent event)
Notify that a cache access by recovery has been made.

Detailed Description

class MigratoryDataCacheListener;

Handle various cache events.

Thread safety

The methods exposed by this interface are always called from the same thread.

Public Functions Documentation

function onStart

void onStart(
    CacheStartEvent event
)

Notify that the cache has been created.

Parameters:

  • event the cache creation event

function onAdd

void onAdd(
    CacheAddEvent event
)

Notify that a cache entry has been added.

Parameters:

  • event the cache entry creation event

function onClean

void onClean(
    CacheCleanEvent event
)

Notify that a cache entry has been deleted.

Parameters:

  • event the cache entry deletion event

function onGetHistory

void onGetHistory(
    CacheHistoryEvent event
)

Notify that a cache access by history has been made.

Parameters:

  • event the cache access by history event

function onGetRecovery

void onGetRecovery(
    CacheRecoveryEvent event
)

Notify that a cache access by recovery has been made.

Parameters:

  • event the cache access by recovery event