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

public interface Cache.Weigher<K, V>

The weight of an entry, for Cache.Builder.maximumWeight.

Methods

public abstract long weigh(K key, V value)Zero or more.

Method details

weigh

public abstract long weigh(K key, V value)
Zero or more.