# Uses of Enum
org.apache.commons.configuration2.sync.LockMode

Packages that use LockMode
Package
Description
org.apache.commons.configuration2
The Configuration main package.
org.apache.commons.configuration2.sync
A package containing interfaces and classes related to synchronization of configurations.

- ## Uses of LockMode in org.apache.commons.configuration2

  Methods in org.apache.commons.configuration2 with parameters of type LockMode
  Modifier and Type
  Method
  Description
  `final void`
  AbstractConfiguration.`lock(LockMode mode)`
  Locks this object for the specified mode.
  `final void`
  AbstractConfiguration.`unlock(LockMode mode)`
  Releases a lock of this object that was obtained using the `SynchronizerSupport.lock(LockMode)` method.

- ## Uses of LockMode in org.apache.commons.configuration2.sync

  Methods in org.apache.commons.configuration2.sync that return LockMode
  Modifier and Type
  Method
  Description
  `static LockMode`
  LockMode.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static LockMode[]`
  LockMode.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in org.apache.commons.configuration2.sync with parameters of type LockMode
  Modifier and Type
  Method
  Description
  `void`
  SynchronizerSupport.`lock(LockMode mode)`
  Locks this object for the specified mode.
  `void`
  SynchronizerSupport.`unlock(LockMode mode)`
  Releases a lock of this object that was obtained using the `SynchronizerSupport.lock(LockMode)` method.