Interface: MemoryCacheListener

MemoryCacheListener

Defines an interface for MemoryCache listeners.
Source:

Methods

entryRemoved(key, entry)

Called when an entry is removed from the cache. Implementers of this interface must implement this function.
Parameters:
Name Type Description
key String The key of the entry removed.
entry Object The entry removed.
Source:

removalError(error, key, entry)

Called when an error occurs during entry removal. Implementers of this interface must implement this function.
Parameters:
Name Type Description
error Object The error object describing the error that occurred.
key String The key of the entry being removed.
entry Object The entry being removed.
Source: