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

public interface Cache.Loader<K, V>

Computes the value for a key that is absent.

Methods

public abstract V load(K key) throws ExceptionThe value, or null for “no value”; null is not stored.

Method details

load

public abstract V load(K key) throws Exception
The value, or null for “no value”; null is not stored.

Throws

Exception