## Uses of Interface
com.h3c.dist.lock.Lock

- Packages that use Lock
  Package | Description
  --- | ---
  com.h3c.dist.lock |

- - ### Uses of Lock in com.h3c.dist.lock

    Methods in com.h3c.dist.lock that return Lock
    Modifier and Type | Method and Description
    --- | ---
    `Lock` | LockService.`createMultiLock(ApplicationId appId, LockName name, List<LockNameType> locks)` Create a lock object that represents a pool of locks requested.
    `Lock` | LockService.`createReadLock(ApplicationId appId, LockName name)` Get read lock object.
    `Lock` | LockService.`createWriteLock(ApplicationId appId, LockName name)` Get write lock object.

    Methods in com.h3c.dist.lock that return types with arguments of type Lock
    Modifier and Type | Method and Description
    --- | ---
    `List<Lock>` | LockService.`getAppLocks(ApplicationId appId)` Get the list of locks `Lock` that are created by the specified application instance.
    `List<Lock>` | LockService.`getAppLocks(List<LockName> lockNameList, ApplicationId appId)` Get the list of locks `Lock` present on the specified set of lockInfos that were created by the provided application instance.

    Methods in com.h3c.dist.lock with parameters of type Lock
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | LockService.`changeOwner(Lock lock, ApplicationId appId)` Change the ownership of a set of read and/or write locks.
    `void` | LockService.`deleteLock(Lock lock)` Delete a lock create using any of the create lock methods above.

Copyright © 2014. All Rights Reserved.