org.gudy.azureus2.core3.util
Class AEMonitor

java.lang.Object
  extended by org.gudy.azureus2.core3.util.AEMonSem
      extended by org.gudy.azureus2.core3.util.AEMonitor

public class AEMonitor
extends AEMonSem


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.azureus2.core3.util.AEMonSem
AEMonSem.monSemData
 
Field Summary
protected  Thread last_waiter
           
protected  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(String _name)
           
 
Method Summary
 void enter()
           
 boolean enter(int max_millis)
           
 void exit()
           
static Map getSynchronisedMap(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

owner

protected Thread owner

last_waiter

protected Thread last_waiter
Constructor Detail

AEMonitor

public AEMonitor(String _name)
Method Detail

enter

public void enter()

enter

public boolean enter(int max_millis)

exit

public void exit()

isHeld

public boolean isHeld()

hasWaiters

public boolean hasWaiters()

getSynchronisedMap

public static Map getSynchronisedMap(Map m)