| Package | Description |
|---|---|
| one.edee.darwin.model | |
| one.edee.darwin.storage |
| Modifier and Type | Method and Description |
|---|---|
static LockState |
LockState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockState[] |
LockState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract LockState |
TransactionalDatabaseLockStorage.createDbLock(String processName,
LocalDateTime until,
String unlockKey) |
protected LockState |
DefaultDatabaseLockStorage.createDbLock(String processName,
LocalDateTime until,
String unlockKey) |
LockState |
LockStorage.createLock(String processName,
LocalDateTime until,
String unlockKey)
Method stores lock.
|
LockState |
TransactionalDatabaseLockStorage.createLock(String processName,
LocalDateTime until,
String unlockKey) |
protected abstract LockState |
TransactionalDatabaseLockStorage.getDbProcessLock(String processName,
LocalDateTime currentDate) |
protected LockState |
DefaultDatabaseLockStorage.getDbProcessLock(String processName,
LocalDateTime currentDate) |
LockState |
LockStorage.getProcessLock(String processName,
LocalDateTime currentDate)
Method returns data about existing / nonexistent lock.
|
LockState |
TransactionalDatabaseLockStorage.getProcessLock(String processName,
LocalDateTime currentDate) |
protected abstract LockState |
TransactionalDatabaseLockStorage.releaseDbProcess(String processName,
String unlockKey) |
protected LockState |
DefaultDatabaseLockStorage.releaseDbProcess(String processName,
String unlockKey) |
LockState |
LockStorage.releaseProcess(String processName,
String unlockKey)
Method releases lock.
|
LockState |
TransactionalDatabaseLockStorage.releaseProcess(String processName,
String unlockKey) |
protected abstract LockState |
TransactionalDatabaseLockStorage.renewDbLease(LocalDateTime until,
String processName,
String unlockKey) |
protected LockState |
DefaultDatabaseLockStorage.renewDbLease(LocalDateTime until,
String processName,
String unlockKey) |
LockState |
LockStorage.renewLease(String processName,
String unlockKey,
LocalDateTime until)
Renews lease date for particular process, if you have correct unlock key (otherwise exception is thrown)
|
LockState |
TransactionalDatabaseLockStorage.renewLease(String processName,
String unlockKey,
LocalDateTime until) |
Copyright © 2020 FG Forrest, a.s.. All rights reserved.