public static enum ConcurrentReferenceHashMap.ReferenceType extends Enum<ConcurrentReferenceHashMap.ReferenceType>
| Enum Constant and 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 | 
| Modifier and Type | Method and Description | 
|---|---|
static ConcurrentReferenceHashMap.ReferenceType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ConcurrentReferenceHashMap.ReferenceType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ConcurrentReferenceHashMap.ReferenceType STRONG
public static final ConcurrentReferenceHashMap.ReferenceType WEAK
WeakReference should be usedpublic static final ConcurrentReferenceHashMap.ReferenceType SOFT
SoftReference should be usedpublic static ConcurrentReferenceHashMap.ReferenceType[] values()
for (ConcurrentReferenceHashMap.ReferenceType c : ConcurrentReferenceHashMap.ReferenceType.values()) System.out.println(c);
public static ConcurrentReferenceHashMap.ReferenceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.