Class Properties
- java.lang.Object
-
- org.eclipse.rdf4j.common.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
Fields Modifier and Type Field Description 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.
-
Constructor Summary
Constructors Constructor Description Properties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
lockTrackingEnabled()
static void
setLockTrackingEnabled(boolean trackLocks)
Sets of clears theTRACK_LOCKS
system property.
-
-
-
Field Detail
-
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
-
-
Method Detail
-
setLockTrackingEnabled
public static void setLockTrackingEnabled(boolean trackLocks)
Sets of clears theTRACK_LOCKS
system property.
-
lockTrackingEnabled
public static boolean lockTrackingEnabled()
-
-