Class 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 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()