![]() | CacheReferenceType Class |
Namespace: com.espertech.esper.common.client.util
public sealed class CacheReferenceType : Enum
The CacheReferenceType type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | DEFAULT |
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.
|
![]() ![]() | HARD |
Constant indicating that hard references should be used.
Does not allow garbage collection to remove cache entries.
|
![]() ![]() | SOFT |
Constant indicating that soft references should be used.
Allows garbage collection to remove cache entries only after all weak references have been collected.
|
![]() | value__ | |
![]() ![]() | WEAK |
Constant indicating that weak references should be used.
Allows garbage collection to remove cache entries.
|