|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gudy.azureus2.core3.util.AEMonSem
org.gudy.azureus2.core3.util.AEMonitor
public class AEMonitor
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gudy.azureus2.core3.util.AEMonSem |
---|
AEMonSem.monSemData |
Field Summary | |
---|---|
protected java.lang.Thread |
last_waiter
|
protected java.lang.Thread |
owner
|
Fields inherited from class org.gudy.azureus2.core3.util.AEMonSem |
---|
DEBUG, DEBUG_CHECK_DUPLICATES, DEBUG_TIMER, entry_count, is_monitor, last_entry_count, last_trace_key, name, waiting |
Constructor Summary | |
---|---|
AEMonitor(java.lang.String _name)
|
Method Summary | |
---|---|
void |
enter()
|
boolean |
enter(int max_millis)
|
void |
exit()
|
static java.util.Map |
getSynchronisedMap(java.util.Map m)
|
boolean |
hasWaiters()
|
boolean |
isHeld()
|
Methods inherited from class org.gudy.azureus2.core3.util.AEMonSem |
---|
check, debugEntry, debugExit, getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Thread owner
protected java.lang.Thread last_waiter
Constructor Detail |
---|
public AEMonitor(java.lang.String _name)
Method Detail |
---|
public void enter()
public boolean enter(int max_millis)
public void exit()
public boolean isHeld()
public boolean hasWaiters()
public static java.util.Map getSynchronisedMap(java.util.Map m)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |