Package | Description |
---|---|
com.tangosol.io.journal |
Contains classes related to the journaling services.
|
com.tangosol.net.cache |
Contains classes providing various caching strategies.
|
com.tangosol.util |
Contains various generic utilities.
|
Modifier and Type | Field and Description |
---|---|
protected BinaryLongMap |
JournalBinaryStore.ClearListener.f_tree
The BinaryLongMap mapping keys to journal tickets.
|
protected BinaryLongMap |
JournalBinaryStore.m_blmTickets
Mapping from Binary keys to journal "tickets".
|
Modifier and Type | Method and Description |
---|---|
protected BinaryLongMap |
JournalBinaryStore.configureTicketTree()
Configure and return the BinaryLongMap to be used to store journal tickets.
|
protected BinaryLongMap |
JournalBinaryStore.getTicketTree()
An internal accessor for the "tree of tickets"; this accessor is used
only by client threads, and has a built-in check for if the journal
has already been disposed of (which could occur on a different thread).
|
Constructor and Description |
---|
ClearListener(BinaryLongMap blm,
Journal journal,
AtomicLong atomicSize)
Construct a ClearListener for the specified BinaryLongMap and journal.
|
Modifier and Type | Field and Description |
---|---|
protected BinaryLongMap |
CompactSerializationCache.m_blmExpiry
The BinaryLongMap holding the expiry information for the entries in the
Cache Map.
|
protected BinaryLongMap |
CompactSerializationCache.m_blmTouchCount
The BinaryLongMap holding the touch-count information for the entries in
the Cache Map.
|
protected BinaryLongMap |
CompactSerializationCache.m_blmTouchTime
The BinaryLongMap holding the touch-time information for the entries in
the Cache Map.
|
protected BinaryLongMap |
CompactSerializationCache.m_blmUnits
The BinaryLongMap holding the units for each entry in the Cache Map.
|
Modifier and Type | Method and Description |
---|---|
protected BinaryLongMap |
CompactSerializationCache.ensureExpiryMap()
Ensure that the expiry-map is initialized.
|
BinaryLongMap |
CompactSerializationCache.getExpiryMap()
Return the BinaryLongMap associating the entries in this cache map with
their corresponding expiry.
|
protected BinaryLongMap |
CompactSerializationCache.getKeyMap()
Return a BinaryLongMap whose values have no meaning, but whose keys can
be used internally to detect the presence of an entry in the cache map.
|
BinaryLongMap |
CompactSerializationCache.getTouchCountMap()
Return the BinaryLongMap associating the entries in this cache map with
their corresponding touch count.
|
BinaryLongMap |
CompactSerializationCache.getTouchTimeMap()
Return the BinaryLongMap associating the entries in this cache map with
their corresponding last "touch" time.
|
BinaryLongMap |
CompactSerializationCache.getUnitsMap()
Return the BinaryLongMap associating the entries in this cache map with
their size in "units".
|
Modifier and Type | Method and Description |
---|---|
protected void |
CompactSerializationCache.setExpiryMap(BinaryLongMap blmExpiry)
Set the BinaryLongMap to use to associate the entries in this cache map
with their corresponding expiry.
|
protected void |
CompactSerializationCache.setTouchCountMap(BinaryLongMap blmTouch)
Return the BinaryLongMap to use to associate the entries in this cache
map with their corresponding "touch" count.
|
protected void |
CompactSerializationCache.setTouchTimeMap(BinaryLongMap blmTouch)
Return the BinaryLongMap to use to associate the entries in this cache
map with their corresponding last "touch" time.
|
protected void |
CompactSerializationCache.setUnitsMap(BinaryLongMap blmUnits)
Set the BinaryLongMap to use to associate the entries in this cache map
with their size in "units".
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryRadixTree
A BinaryRadixTree is a memory-optimized radix tree (aka a Patricia trie)
that is intended to efficiently store a mapping from Binary values to long
values.
|
static class |
MultiBinaryLongMap.AbstractDelegateBinaryLongMap
Abstract base class for BinaryLongMap implementations that delegate the
key and value storage to the MultiBinaryLongMap.
|
static class |
MultiBinaryLongMap.DelegatingBinaryLongMap
An implementation of BinaryLongMap that uses another BinaryLongMap to
store its keys and one index of a LongStorage to store its values.
|
class |
MultiBinaryLongMap.LeftoverLongMapHolder.LeftoverMaskedBinaryLongMap
LeftoverMaskedBinaryLongMap is a MaskedBinaryLongMap implementation
that is backed by the leftover (upper 32) bits in "real" key-tree
itself.
|
static class |
MultiBinaryLongMap.MaskedBinaryLongMap
MaskedBinaryLongMap is a BinaryLongMap which represents a mapping from a
Binary to a fixed-bit-width numeric value (though exposed as a long
datatype), based on an underlying BinaryLongMap.
|
class |
MultiBinaryLongMap.PrimaryBinaryLongMap
A BinaryLongMap implementation that logically represents the "primary"
BinaryLongMap of the containing MultiBinaryLongMap.
|
protected class |
MultiBinaryLongMap.PrimaryBinaryLongMap.CompressedPrimaryBinaryLongMap
The CompressedPrimaryBinaryLongMap is a trivial "Safe" wrapper around
the main key-tree, which associates keys to their single (primary)
long value.
|
protected class |
MultiBinaryLongMap.PrimaryBinaryLongMap.DelegatingPrimaryBinaryLongMap
An extension to the DelegatingBinaryLongMap for the "primary" or
"owning" BinaryLongMap that is responsible for adding and removing
keys.
|
static class |
MultiBinaryLongMap.SafeBinaryLongMap
The SafeBinaryLongMap is a BinaryLongMap implementation that wraps an
underlying BinaryLongMap in order to add thread safety.
|
static class |
MultiBinaryLongMap.WrapperBinaryLongMap
The WrapperBinaryLongMap is a BinaryLongMap implementation that wraps
an underlying BinaryLongMap.
|
Modifier and Type | Field and Description |
---|---|
protected BinaryLongMap |
MultiBinaryLongMap.AbstractDelegateBinaryLongMap.f_blm
The BinaryLongMap to delegate storage of this BinaryLongMap's keys to.
|
protected BinaryLongMap |
MultiBinaryLongMap.MaskedLongMapHolder.f_blm
The BinaryLongMap shared by the component masked BLMs.
|
protected BinaryLongMap |
MultiBinaryLongMap.MaskedBinaryLongMap.f_blm
The underlying BinaryLongMap.
|
protected BinaryLongMap |
MultiBinaryLongMap.PrimaryBinaryLongMap.f_pblmMulti
The "full" or "multi-aware" PBLM implementation.
|
protected BinaryLongMap |
MultiBinaryLongMap.WrapperBinaryLongMap.m_blm
The underlying BinaryLongMap.
|
protected BinaryLongMap |
MultiBinaryLongMap.PrimaryBinaryLongMap.ValidatingLock.m_blmImpl
The primary BinaryLongMap implementation to check for
|
Modifier and Type | Method and Description |
---|---|
BinaryLongMap |
MultiBinaryLongMap.createBinaryIntMap()
Create a new BinaryLongMap that can be used to manage int (not
long) values for the set of keys present in the primary
BinaryLongMap instance.
|
BinaryLongMap |
MultiBinaryLongMap.createBinaryLongMap()
Create a new BinaryLongMap that can be used to manage values for the
set of keys present in the primary BinaryLongMap instance.
|
BinaryLongMap |
MultiBinaryLongMap.createBitMap(int cBits)
Create a new BinaryLongMap that can be used to manage numeric values of
the specified bit-width for the set of keys present in the primary
BinaryLongMap instance.
|
BinaryLongMap |
MultiBinaryLongMap.MaskedLongMapHolder.getDelegateMap()
Return the BinaryLongMap that provides the underlying storage for
this MaskedLongMapHolder.
|
protected BinaryLongMap |
MultiBinaryLongMap.PrimaryBinaryLongMap.ValidatingLock.getImplMap()
Return the primary BinaryLongMap implementation validate by this
ValidatingLock.
|
BinaryLongMap |
MultiBinaryLongMap.WrapperBinaryLongMap.getMap()
Return the underlying BinaryLongMap.
|
BinaryLongMap |
MultiBinaryLongMap.SafeBinaryLongMap.getMap()
Return the underlying BinaryLongMap.
|
BinaryLongMap |
MultiBinaryLongMap.MaskedLongMapHolder.reserveMap(int cBits)
Reserve and return a masked BLM from this MaskedLongMapHolder if
available, or null otherwise.
|
Modifier and Type | Method and Description |
---|---|
protected static MultiBinaryLongMap.SafeEntryVisitor |
MultiBinaryLongMap.ensureSafeVisitor(BinaryLongMap blm,
BinaryLongMap.EntryVisitor visitor)
Return a SafeEntryVisitor based on the specified visitor implementation.
|
void |
MultiBinaryLongMap.releaseMap(BinaryLongMap blm)
Release one of the maps previously returned from either
MultiBinaryLongMap.createBinaryLongMap() , MultiBinaryLongMap.createBinaryIntMap() or
MultiBinaryLongMap.createBitMap(int) . |
protected void |
MultiBinaryLongMap.releaseMapInternal(BinaryLongMap blm)
Helper method for releasing a BinaryLongMap created by this
MultiBinaryLongMap.
|
protected void |
MultiBinaryLongMap.PrimaryBinaryLongMap.ValidatingLock.setImplMap(BinaryLongMap blmImpl)
Set the primary BinaryLongMap implementation to be validated by
this ValidatingLock.
|
protected void |
MultiBinaryLongMap.WrapperBinaryLongMap.setMap(BinaryLongMap blm)
Return the underlying BinaryLongMap.
|
Constructor and Description |
---|
AbstractDelegateBinaryLongMap(BinaryLongMap blm,
MultiBinaryLongMap.LongStorage store,
int iIndex)
Construct an AbstractDelegateBinaryLongMap based on the specified
key tree, long storage, and storage index.
|
CompressedPrimaryBinaryLongMap(BinaryLongMap blmKeyTree,
ReentrantReadWriteLock rwLock)
Construct a CompressedPrimaryBinaryLongMap.
|
DelegatingBinaryLongMap(BinaryLongMap blm,
MultiBinaryLongMap.LongStorage store,
int iIndex)
Construct a DelegatingBinaryLongMap.
|
DelegatingPrimaryBinaryLongMap(BinaryLongMap blmKeyTree,
MultiBinaryLongMap.LongStorage store,
ReentrantReadWriteLock rwLockMaster)
Construct a DelegatingPrimaryBinaryLongMap.
|
LeftoverMaskedBinaryLongMap(MultiBinaryLongMap.MaskedLongMapHolder holder,
BinaryLongMap blm,
int cShift,
int cBits)
Construct a LeftoverMaskedBinaryLongMap.
|
MaskedBinaryLongMap(MultiBinaryLongMap.MaskedLongMapHolder holder,
BinaryLongMap blm,
int cShift,
int cBits)
Construct a MaskedBinaryLongMap based on the specified binary long map
using the specified shift and bit-widths.
|
MaskedLongMapHolder(BinaryLongMap blm,
Lock lockSMaster)
Construct a MaskedLongMapHolder backed by the specified blm.
|
MaskedLongMapHolder(BinaryLongMap blm,
Lock lockSMaster,
long lMaskReserved)
Construct a MaskedLongMapHolder backed by the specified blm with the
specified reserved bit-mask.
|
SafeBinaryLongMap(BinaryLongMap blm,
Lock lockShared,
Lock lockExclusive)
Construct a SafeBinaryLongMap around the specified map, protected by
the specified locks.
|
SimpleMapImpl(BinaryLongMap blm)
Construct a SimpleMapImpl around an existing BinaryLongMap.
|
ValidatingLock(BinaryLongMap blm,
Lock lock)
Construct a ValidatingLock backed by the specified Lock.
|
WrapperBinaryLongMap(BinaryLongMap blm)
Construct a WrapperBinaryLongMap based on the specified BinaryLongMap.
|