| Package | Description |
|---|---|
| com.h3c.dist.lock |
| Modifier and Type | Class and Description |
|---|---|
class |
LockNameType
Place holder for lock name and type of a lock.
|
| Modifier and Type | Method and Description |
|---|---|
LockName |
Lock.getName()
Get LockName
LockName associated with the 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.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
Copyright © 2014. All Rights Reserved.