Class Cache.Soft
java.lang.Object
java.lang.ref.Reference<V>
java.lang.ref.SoftReference<V>
org.apache.sis.util.collection.Cache.Soft
- All Implemented Interfaces:
Disposable
A soft reference which removes itself from the cache when the reference is garbage-collected.
- Since:
- 0.3
- Version:
- 1.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SoftReference
getMethods inherited from class Reference
clear, enqueue, isEnqueued
-
Field Details
-
key
The key of the referenced value.
-
-
Constructor Details
-
Soft
-
-
Method Details
-
dispose
public void dispose()Removes the reference from the map.- Specified by:
disposein interfaceDisposable
-