org.gudy.azureus2.core3.util
Class AEMonSem

java.lang.Object
  extended by org.gudy.azureus2.core3.util.AEMonSem
Direct Known Subclasses:
AEMonitor, AESemaphore

public abstract class AEMonSem
extends Object

Author:
parg

Nested Class Summary
protected static class AEMonSem.monSemData
           
 
Field Summary
protected static boolean DEBUG
           
protected static boolean DEBUG_CHECK_DUPLICATES
           
protected static long DEBUG_TIMER
           
protected  long entry_count
           
protected  boolean is_monitor
           
protected  long last_entry_count
           
protected  String last_trace_key
           
protected  String name
           
protected  int waiting
           
 
Constructor Summary
protected AEMonSem(String _name, boolean _monitor)
           
 
Method Summary
protected static void check(AEDiagnosticsLogger diag_logger)
           
protected  void debugEntry()
           
protected  void debugExit()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

protected static final boolean DEBUG
See Also:
Constant Field Values

DEBUG_CHECK_DUPLICATES

protected static final boolean DEBUG_CHECK_DUPLICATES
See Also:
Constant Field Values

DEBUG_TIMER

protected static final long DEBUG_TIMER
See Also:
Constant Field Values

entry_count

protected long entry_count

last_entry_count

protected long last_entry_count

last_trace_key

protected String last_trace_key

name

protected final String name

is_monitor

protected final boolean is_monitor

waiting

protected int waiting
Constructor Detail

AEMonSem

protected AEMonSem(String _name,
                   boolean _monitor)
Method Detail

check

protected static void check(AEDiagnosticsLogger diag_logger)

debugEntry

protected void debugEntry()

debugExit

protected void debugExit()

getName

public String getName()