groovy / 4.0 / org / apache / groovy / util / concurrent / concurrentreferencehashmap.referencetype.html

[Java] Enum ConcurrentReferenceHashMap.ReferenceType

  • org.apache.groovy.util.concurrent.ConcurrentReferenceHashMap.ReferenceType
public static enum ConcurrentReferenceHashMap.ReferenceType

An option specifying which Java reference type should be used to refer to a key and/or value.

Enum Constants Summary

Enum constants classes
Enum constant Description
SOFT Indicates a SoftReference should be used
STRONG Indicates a normal Java strong reference should be used
WEAK Indicates a WeakReference should be used

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Enum Constant Detail

public ConcurrentReferenceHashMap.ReferenceType SOFT

Indicates a SoftReference should be used

public ConcurrentReferenceHashMap.ReferenceType STRONG

Indicates a normal Java strong reference should be used

public ConcurrentReferenceHashMap.ReferenceType WEAK

Indicates a WeakReference should be used