info.aduna.concurrent.locks
Class Properties
java.lang.Object
info.aduna.concurrent.locks.Properties
public class Properties
- extends Object
Class controlling various logging properties such as the amount of lock
tracking that is done for debugging (at the cost of performance).
- Author:
- Arjohn Kampman
|
Field Summary |
static String |
TRACK_LOCKS
The system property "info.aduna.concurrent.locks.trackLocks" that can be
used to enable lock tracking by giving it a (non-null) value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRACK_LOCKS
public static final String TRACK_LOCKS
- The system property "info.aduna.concurrent.locks.trackLocks" that can be
used to enable lock tracking by giving it a (non-null) value.
- See Also:
- Constant Field Values
Properties
public Properties()
setLockTrackingEnabled
public static void setLockTrackingEnabled(boolean trackLocks)
- Sets of clears the
TRACK_LOCKS system property.
lockTrackingEnabled
public static boolean lockTrackingEnabled()
Copyright © 1997-2008 Aduna. All Rights Reserved.