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, toStringactivate, 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, unpackHeaderpublic OptimisticLock()
public OptimisticLock(int lm)
public OptimisticLock(Uid storeId)
public boolean conflictsWith(Lock otherLock)
conflictsWith in class Locktrue if this lock conflicts with the parameter,
false otherwise.Copyright © 2013. All rights reserved.