Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public interface Cache.RemovalListener<K, V>

Told about every entry that leaves the cache.

Methods

public abstract void removed(K key, V value, int cause)cause is one of EXPLICIT, REPLACED, EXPIRED or SIZE.

Method details

removed

public abstract void removed(K key, V value, int cause)
cause is one of EXPLICIT, REPLACED, EXPIRED or SIZE.