info.aduna.concurrent.locks
Class Properties

java.lang.Object
  extended by info.aduna.concurrent.locks.Properties

public class Properties
extends java.lang.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 java.lang.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.
 
Constructor Summary
Properties()
           
 
Method Summary
static boolean lockTrackingEnabled()
           
static void setLockTrackingEnabled(boolean trackLocks)
          Sets of clears the TRACK_LOCKS system property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACK_LOCKS

public static final java.lang.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
Constructor Detail

Properties

public Properties()
Method Detail

setLockTrackingEnabled

public static void setLockTrackingEnabled(boolean trackLocks)
Sets of clears the TRACK_LOCKS system property.


lockTrackingEnabled

public static boolean lockTrackingEnabled()


Copyright © 2010 Aduna. All Rights Reserved.