|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdiagnose.concurrent.ConcurrentHashMap.Segment
Bookkeeping for each concurrency control segment. Each segment contains a local count of the number of elements in its region. However, the main use of a Segment is for its lock.
Field Summary | |
protected int |
count
The number of elements in this segment's region. |
Constructor Summary | |
protected |
ConcurrentHashMap.Segment()
|
Method Summary | |
protected int |
getCount()
Get the count under synch. |
protected void |
synch()
Force a synchronization |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int count
Constructor Detail |
protected ConcurrentHashMap.Segment()
Method Detail |
protected int getCount()
protected void synch()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |