Package | Description |
---|---|
com.tangosol.util |
Contains various generic utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
SegmentedConcurrentMap.LockableEntry
LockableEntry is an Entry that supports locking.
|
Modifier and Type | Field and Description |
---|---|
protected SegmentedHashMap.Entry[] |
SegmentedHashMap.m_aeBucket
The array of hash buckets.
|
protected SegmentedHashMap.Entry |
SegmentedHashMap.Entry.m_eNext
The next entry in the linked list (an open hashing implementation).
|
Modifier and Type | Method and Description |
---|---|
protected static SegmentedHashMap.Entry |
SegmentedHashMap.entryFromBucket(SegmentedHashMap.Entry[] aeBucket,
int nBucket)
Return the first non-synthetic Entry object contained by in the
specified bucket.
|
protected SegmentedHashMap.Entry |
SegmentedHashMap.getEntryInternal(Object oKey)
Locate an Entry in the hash map based on its key.
|
protected SegmentedHashMap.Entry |
SegmentedHashMap.getEntryInternal(Object oKey,
boolean fSynthetic)
Locate an Entry in the hash map based on its key.
|
protected SegmentedHashMap.Entry[] |
SegmentedHashMap.getStableBucketArray()
Get the bucket array, or if a resize is occurring, wait for the resize
to complete and return the new bucket array.
|
protected SegmentedHashMap.Entry |
SegmentedConcurrentMap.instantiateEntry(Object oKey,
Object oValue,
int nHash)
Factory for Entry.
|
protected SegmentedHashMap.Entry |
SegmentedHashMap.instantiateEntry(Object oKey,
Object oValue,
int nHash)
Factory for Entry.
|
protected SegmentedHashMap.Entry |
SegmentedHashMap.Entry.nextEntry()
Get the next non-synthetic entry in the linked list (open hash)
|
protected SegmentedHashMap.Entry |
SegmentedHashMap.Entry.nextEntry(boolean fSynthetic)
Get the next entry in the linked list (open hash).
|
Modifier and Type | Method and Description |
---|---|
protected static SegmentedHashMap.Entry |
SegmentedHashMap.entryFromBucket(SegmentedHashMap.Entry[] aeBucket,
int nBucket)
Return the first non-synthetic Entry object contained by in the
specified bucket.
|
Object |
SegmentedConcurrentMap.RemoveAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.RemoveAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.ConditionalRemoveAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.ConditionalRemoveAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.LockAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.LockAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.UnlockAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.UnlockAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.SizeAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.SizeAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.EntryAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.EntryAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.EntryActionAdapter.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.EntryActionAdapter.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.GetEntryAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.GetEntryAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.InsertAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.InsertAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.RemoveAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.RemoveAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.ContainsValueAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedHashMap.ContainsValueAction.invokeFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket,
SegmentedHashMap.Entry entryPrev,
SegmentedHashMap.Entry entryCur)
Invoke some action, holding the segment lock, when a matching Entry
is found.
|
Object |
SegmentedConcurrentMap.LockAction.invokeNotFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket)
Invoke some action, holding the segment lock, when no matching Entry
is found.
|
Object |
SegmentedConcurrentMap.UnlockAction.invokeNotFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket)
Invoke some action, holding the segment lock, when no matching Entry
is found.
|
Object |
SegmentedHashMap.EntryAction.invokeNotFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket)
Invoke some action, holding the segment lock, when no matching Entry
is found.
|
Object |
SegmentedHashMap.EntryActionAdapter.invokeNotFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket)
Invoke some action, holding the segment lock, when no matching Entry
is found.
|
Object |
SegmentedHashMap.GetEntryAction.invokeNotFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket)
Invoke some action, holding the segment lock, when no matching Entry
is found.
|
Object |
SegmentedHashMap.InsertAction.invokeNotFound(Object oKey,
Object oContext,
SegmentedHashMap.Entry[] aeBucket,
int nBucket)
Invoke some action, holding the segment lock, when no matching Entry
is found.
|
protected void |
SegmentedHashMap.Entry.setNext(SegmentedHashMap.Entry eNext)
Set the next entry in the linked list (open hash)
|