Package org.postgresql.core
Class AsciiStringInterner.StringReference
- Enclosing class:
AsciiStringInterner
Custom
SoftReference
implementation which maintains a reference to the key in the cache,
which allows aggressive cleaning when garbage collector collects the String
instance.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ref.SoftReference
get
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, isEnqueued, reachabilityFence, refersTo
-
Field Details
-
key
-
-
Constructor Details
-
StringReference
StringReference(AsciiStringInterner.BaseKey key, String referent)
-
-
Method Details
-
dispose
void dispose()
-