Click or drag to resize

CacheReferenceType Fields

The CacheReferenceType type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberDEFAULT
The default policy is set to WEAK to reduce the chance that out-of-memory errors occur as caches fill, and stay backwards compatible with prior Esper releases.
Public fieldStatic memberHARD
Constant indicating that hard references should be used.

Does not allow garbage collection to remove cache entries.

Public fieldStatic memberSOFT
Constant indicating that soft references should be used.

Allows garbage collection to remove cache entries only after all weak references have been collected.

Public fieldvalue__
Public fieldStatic memberWEAK
Constant indicating that weak references should be used.

Allows garbage collection to remove cache entries.

Top
See Also