public interface HashSlotArray8byteKey extends HashSlotArray
HashSlotArray
to the case where the key is a single long
value
and the value part is a block whose size is a multiple of 8 (including zero).Modifier and Type | Method and Description |
---|---|
HashSlotCursor8byteKey |
cursor()
Returns a cursor over all assigned slots in this array.
|
SlotAssignmentResult |
ensure(long key)
Ensures that there is a mapping from the given key to a slot in the array.
|
long |
get(long key)
Returns the address of the value block mapped by the given key.
|
boolean |
remove(long key)
Removes the mapping for the given key.
|
address, capacity, clear, expansionThreshold, gotoAddress, gotoNew, size, trimToSize
dispose
SlotAssignmentResult ensure(long key)
key
- the keylong get(long key)
key
- the keyMemoryAllocator.NULL_ADDRESS
if no mapping for key
exists.boolean remove(long key)
key
- the keyHashSlotCursor8byteKey cursor()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.