public abstract class AbstractLockStore<T extends ConcurrentMap<NodeRef,LockState>> extends Object implements LockStore
| Constructor and Description |
|---|
AbstractLockStore(T map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
WARNING: only use in test code - unsafe method for production use.
|
LockState |
get(NodeRef nodeRef) |
Set<NodeRef> |
getNodes() |
protected Map<NodeRef,LockState> |
getTxMap()
Returns a transactionally scoped Map that is used to provide repeatable lock store queries
for a given NodeRef.
|
void |
set(NodeRef nodeRef,
LockState lockState) |
protected T extends ConcurrentMap<NodeRef,LockState> map
public AbstractLockStore(T map)
public void clear()
LockStoreprotected Map<NodeRef,LockState> getTxMap()
Copyright © 2005–2021 Alfresco Software. All rights reserved.