Package com.biglybt.core.util
Class AEMonSem
- java.lang.Object
-
- com.biglybt.core.util.AEMonSem
-
- Direct Known Subclasses:
AEMonitorOld
,AESemaphoreOld
public abstract class AEMonSem extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AEMonSem.monSemData
-
Field Summary
Fields Modifier and Type Field Description protected static boolean
DEBUG
protected static boolean
DEBUG_CHECK_DUPLICATES
private static java.util.Map
debug_monitors
private static java.util.Map
debug_name_mapping
private static java.util.List
debug_reciprocals
(package private) static java.util.List
debug_recursions
private static java.util.Map
debug_semaphores
protected static long
DEBUG_TIMER
private static java.util.Map
debug_traces
protected long
entry_count
protected boolean
is_monitor
protected long
last_entry_count
protected java.lang.String
last_trace_key
private static long
monitor_id_next
protected java.lang.String
name
private static long
semaphore_id_next
private static java.lang.ThreadLocal
tls
protected int
waiting
-
Constructor Summary
Constructors Modifier Constructor Description protected
AEMonSem(java.lang.String _name, boolean _monitor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static void
check(AEDiagnosticsLogger diag_logger)
protected void
debugEntry()
protected void
debugExit()
java.lang.String
getName()
-
-
-
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
-
tls
private static final java.lang.ThreadLocal tls
-
monitor_id_next
private static long monitor_id_next
-
semaphore_id_next
private static long semaphore_id_next
-
debug_traces
private static final java.util.Map debug_traces
-
debug_recursions
static final java.util.List debug_recursions
-
debug_reciprocals
private static final java.util.List debug_reciprocals
-
debug_name_mapping
private static final java.util.Map debug_name_mapping
-
debug_monitors
private static final java.util.Map debug_monitors
-
debug_semaphores
private static final java.util.Map debug_semaphores
-
entry_count
protected long entry_count
-
last_entry_count
protected long last_entry_count
-
last_trace_key
protected java.lang.String last_trace_key
-
name
protected final java.lang.String name
-
is_monitor
protected final boolean is_monitor
-
waiting
protected int waiting
-
-
Method Detail
-
check
protected static void check(AEDiagnosticsLogger diag_logger)
-
debugEntry
protected void debugEntry()
-
debugExit
protected void debugExit()
-
getName
public java.lang.String getName()
-
-