public static interface SegmentedConcurrentMap.ContentionObserver
Modifier and Type | Method | Description |
---|---|---|
void |
onContend(Object oContender,
SegmentedConcurrentMap.LockableEntry entry) |
Called when the specified lock holder begins contending for the
specified LockableEntry.
|
void |
onUncontend(Object oContender,
SegmentedConcurrentMap.LockableEntry entry) |
Called when the specified lock holder stops contending for the
specified LockableEntry.
|
void onContend(Object oContender, SegmentedConcurrentMap.LockableEntry entry)
oContender
- the contending lock holderentry
- the entry being contended forvoid onUncontend(Object oContender, SegmentedConcurrentMap.LockableEntry entry)
oContender
- the previously contending lock holderentry
- the entry no longer being contended for