CacheKey

constructor(endpointId: String, params: List<Pair<String, String>>)(source)

Parameters

endpointId

the endpoint's stable id; not blank.

params

the endpoint's parameters as name/value pairs, in any order; copied and sorted by name with a stable sort, so repeated names keep the caller's order.

Type Parameters

V

the value type this key's endpoint returns (not part of equality).


constructor(endpointId: String)(source)

A key with no parameters.

Parameters

endpointId

the endpoint's stable id; not blank.

Throws