CacheKey
Identifies one cached answer: an endpoint id and the endpoint's parameters, and nothing else.
Stable Core. Equality is on endpointId and params only; the type parameter V is a phantom, so one endpoint id serves one value type and a second type under the same id is a programming error (the consumer's use of the value fails with a ClassCastException). Names, values and the id are case-sensitive and compared as UTF-16 code units; there is no Unicode normalisation. Never put a tenant, a header, a credential or the decoder in a key: the key is an equality key and is printed (names only) in logs. toString() prints the id and the parameter names, never a value.
Parameters
the endpoint's stable id; not blank.
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
the value type this key's endpoint returns (not part of equality).
Throws
if endpointId is blank.
Constructors
Functions
A diagnostic string for logs: endpointId and the parameter names, never a value. Its format is not part of the API and may change.