Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class MultiBinaryLongMap.LeftoverLongMapHolder

java.lang.Object
  extended by com.tangosol.util.MultiBinaryLongMap.MaskedLongMapHolder
      extended by com.tangosol.util.MultiBinaryLongMap.LeftoverLongMapHolder

Enclosing class:
MultiBinaryLongMap

public class MultiBinaryLongMap.LeftoverLongMapHolder
extends MultiBinaryLongMap.MaskedLongMapHolder

LeftoverLongMapHolder is the MaskedLongMapHolder implementation that is backed by the "real" key tree itself. The MaskedBinaryLongMap instances created by this holder are stored in the upper 32-bits of the underlying key-tree (where the lower 32-bits encode the "slot" info). Additionally, the returned instances contain additional safety checks to ensure that users of the returned BinaryLongMap may not cause keys to be inadvertently (and illegally) added to the MultiBinaryLongMap.


Nested Class Summary
 class MultiBinaryLongMap.LeftoverLongMapHolder.LeftoverMaskedBinaryLongMap
          LeftoverMaskedBinaryLongMap is a MaskedBinaryLongMap implementation that is backed by the leftover (upper 32) bits in "real" key-tree itself.

 

Field Summary

 

Fields inherited from class com.tangosol.util.MultiBinaryLongMap.MaskedLongMapHolder
f_blm, f_lMaskReserved, f_lockS, f_lockX, m_listBLMs, m_lMaskFree

 

Constructor Summary
MultiBinaryLongMap.LeftoverLongMapHolder()
          Default constructor.

 

Method Summary
protected  MultiBinaryLongMap.MaskedBinaryLongMap instantiateMaskedBinaryLongMap(int cShift, int cBits)
          Factory method for instantiating MaskedBinaryLongMap instances associated with this MaskedLongMapHolder.

 

Methods inherited from class com.tangosol.util.MultiBinaryLongMap.MaskedLongMapHolder
checkRep, getDelegateMap, isEmpty, releaseMap, reserveMap, shiftMaskedMap

 

Constructor Detail

MultiBinaryLongMap.LeftoverLongMapHolder

public MultiBinaryLongMap.LeftoverLongMapHolder()
Default constructor.

Method Detail

instantiateMaskedBinaryLongMap

protected MultiBinaryLongMap.MaskedBinaryLongMap instantiateMaskedBinaryLongMap(int cShift,
                                                                                int cBits)
Factory method for instantiating MaskedBinaryLongMap instances associated with this MaskedLongMapHolder.
Overrides:
instantiateMaskedBinaryLongMap in class MultiBinaryLongMap.MaskedLongMapHolder
Parameters:
cShift - the shift position of the masked BLM
cBits - the bit-width of values represented by the BLM
Returns:
a MaskedBinaryLongMap with the specified shift and mask associated with this LongMapHolder (and backed by the underlying BLM)

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.