Class Properties
java.lang.Object
org.eclipse.rdf4j.common.concurrent.locks.Properties
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
Modifier and TypeFieldDescriptionstatic String
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static void
setLockTrackingEnabled(boolean trackLocks)
Sets of clears theTRACK_LOCKS
system property.
-
Field Details
-
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 Details
-
Properties
public Properties()
-
-
Method Details
-
setLockTrackingEnabled
public static void setLockTrackingEnabled(boolean trackLocks)Sets of clears theTRACK_LOCKS
system property. -
lockTrackingEnabled
public static boolean lockTrackingEnabled()
-