Package | Description |
---|---|
com.hazelcast.util |
This package contains classes to support the inner workings of Hazelcast
as well as some backports of newer Java features / data structures to
support older Java versions in a clean and nice way.
|
Modifier and Type | Method and Description |
---|---|
static ConcurrentReferenceHashMap.ReferenceType |
ConcurrentReferenceHashMap.ReferenceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrentReferenceHashMap.ReferenceType[] |
ConcurrentReferenceHashMap.ReferenceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ConcurrentReferenceHashMap(ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType)
Creates a new, empty reference map with the specified key
and value reference types.
|
ConcurrentReferenceHashMap(ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType,
EnumSet<ConcurrentReferenceHashMap.Option> options)
Creates a new, empty reference map with the specified reference types
and behavioral options.
|
ConcurrentReferenceHashMap(int initialCapacity,
ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType)
Creates a new, empty map with the specified initial capacity,
reference types, and with a default load factor (0.75) and concurrencyLevel (16).
|
ConcurrentReferenceHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel,
ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType,
EnumSet<ConcurrentReferenceHashMap.Option> options)
Creates a new, empty map with the specified initial
capacity, reference types, load factor, and concurrency level.
|
SampleableConcurrentHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel,
ConcurrentReferenceHashMap.ReferenceType keyType,
ConcurrentReferenceHashMap.ReferenceType valueType,
EnumSet<ConcurrentReferenceHashMap.Option> options) |
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.