Indicates that a type has cache semantics.
Formally:
- It is final, or all of its subtypes are guaranteed to have cache semantics.
- It is mutable, and therefore inherently not thread-safe.
- It might not have reliable
equals
, hashCode
,
or toString
implementations.
- It has no interaction with input/output whatsoever.
- It has no interaction with locks or concurrency mechanisms whatsoever