public class OptimisticLock extends Lock
modifyingActions, objectModel, objectUid, usingActions
Constructor and Description |
---|
OptimisticLock() |
OptimisticLock(int lm) |
OptimisticLock(Uid storeId) |
Modifier and Type | Method and Description |
---|---|
boolean |
conflictsWith(Lock otherLock)
Implementation of Lock conflict check.
|
String |
type()
Overrides StateManager.type()
|
changeHierarchy, equals, equals, finalize, getAllOwners, getCurrentOwner, getCurrentStatus, getLink, getLockMode, modifiesObject, print, propagate, restore_state, save_state, setLink, toString
activate, activate, cleanup, createLists, deactivate, deactivate, deactivate, destroy, disable, forgetAction, get_uid, getMutex, getObjectModel, getStore, getStoreRoot, loadObjectState, lockMutex, modified, objectType, packHeader, persist, rememberAction, setStatus, setupStore, setupStore, setupStore, status, terminate, tryLockMutex, unlockMutex, unpackHeader
public OptimisticLock()
public OptimisticLock(int lm)
public OptimisticLock(Uid storeId)
public boolean conflictsWith(Lock otherLock)
conflictsWith
in class Lock
true
if this lock conflicts with the parameter,
false
otherwise.Copyright © 2021 JBoss by Red Hat. All rights reserved.