public class ClusterNodeStoreLock extends java.lang.Object implements AsyncIndexerLock<org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken>
AsyncIndexerLock.LockToken
NOOP_LOCK
Constructor and Description |
---|
ClusterNodeStoreLock(NodeStore nodeStore) |
ClusterNodeStoreLock(NodeStore nodeStore,
Clock clock) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLocked(java.lang.String asyncIndexerLane) |
org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken |
lock(java.lang.String asyncIndexerLane) |
void |
unlock(org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken token) |
public ClusterNodeStoreLock(NodeStore nodeStore)
public org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken lock(java.lang.String asyncIndexerLane) throws CommitFailedException
lock
in interface AsyncIndexerLock<org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken>
CommitFailedException
public void unlock(org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken token) throws CommitFailedException
unlock
in interface AsyncIndexerLock<org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken>
CommitFailedException
public boolean isLocked(java.lang.String asyncIndexerLane)
Copyright © 2010 - 2023 Adobe. All Rights Reserved