| Package | Description |
|---|---|
| com.holonplatform.core.query.lock |
| Modifier and Type | Method and Description |
|---|---|
static LockMode |
LockMode.getDefault()
Get the default lock mode
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
default L |
LockSupport.lock(LockMode lockMode)
Configure the lock mode.
|
L |
LockSupport.lock(LockMode lockMode,
long timeout)
Configure the lock mode and lock timeout, if supported by the concrete implementation.
|
default boolean |
LockSupport.tryLock(LockMode lockMode)
Try to perform the operation using the given lock mode.
|
boolean |
LockSupport.tryLock(LockMode lockMode,
long timeout)
Try to perform the operation using the given lock mode and timeout.
|
Copyright © 2019 The Holon Platform. All rights reserved.