org.eclipse.rdf4j.common.concurrent.locks

## 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 and 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 and Description
    `Properties()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 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 © 2015-2022 Eclipse Foundation. All Rights Reserved.