public interface LockConstructionState
PessimisticLock.getLock()
Modifier and Type | Method and Description |
---|---|
boolean |
isInitial()
Indicates whether the concerned lock was created the first time.
|
boolean |
isRegenerated()
Indicates whether the concerned lock was renewed.
|
void |
setInitial(boolean constructionState)
Sets the indicator whether the concerned lock was created the first time.
|
void |
setRegenerated(boolean constructionState)
Sets the indicator whether the concerned lock was renewed.
|
boolean isInitial()
void setInitial(boolean constructionState)
constructionState
- the indicator whether the concerned lock was created the first
time.boolean isRegenerated()
void setRegenerated(boolean constructionState)
constructionState
- the indicator whether the concerned lock was renewed or not.Copyright © 2003–2023 XDEV Software. All rights reserved.