|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.aduna.concurrent.locks.Properties
public class Properties
Class controlling various logging properties such as the amount of lock tracking that is done for debugging (at the cost of performance).
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 |
---|
public static final java.lang.String TRACK_LOCKS
Constructor Detail |
---|
public Properties()
Method Detail |
---|
public static void setLockTrackingEnabled(boolean trackLocks)
TRACK_LOCKS
system property.
public static boolean lockTrackingEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |