public abstract class AbstractLockStore<T extends ConcurrentMap<org.alfresco.service.cmr.repository.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(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Set<org.alfresco.service.cmr.repository.NodeRef> |
getNodes() |
protected Map<org.alfresco.service.cmr.repository.NodeRef,LockState> |
getTxMap()
Returns a transactionally scoped Map that is used to provide repeatable lock store queries
for a given NodeRef.
|
void |
set(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockState lockState) |
protected T extends ConcurrentMap<org.alfresco.service.cmr.repository.NodeRef,LockState> map
public AbstractLockStore(T map)
public LockState get(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public void set(org.alfresco.service.cmr.repository.NodeRef nodeRef, LockState lockState)
public void clear()
LockStore
protected Map<org.alfresco.service.cmr.repository.NodeRef,LockState> getTxMap()
Copyright © 2005–2017 Alfresco Software. All rights reserved.