Module org.autogui

Class GuiPreferences.PreferencesLock

java.lang.Object
java.util.concurrent.locks.ReentrantLock
org.autogui.base.mapping.GuiPreferences.PreferencesLock
All Implemented Interfaces:
Serializable, AutoCloseable, Lock
Enclosing class:
GuiPreferences

public static class GuiPreferences.PreferencesLock extends ReentrantLock implements AutoCloseable
the entire lock object for the preferences
     try (var lock = prefs.lock()) {
         ... //editing
     }
 
Since:
1.6
See Also:
  • Constructor Details

    • PreferencesLock

      public PreferencesLock()
  • Method Details