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  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

owner

protected java.lang.Thread owner

last_waiter

protected java.lang.Thread last_waiter
Constructor Detail

AEMonitor

public AEMonitor(java.lang.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 java.util.Map getSynchronisedMap(java.util.Map m)