public class ClusterNodeStoreLock extends Object implements AsyncIndexerLock<org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken>
AsyncIndexerLock.LockTokenNOOP_LOCK| Constructor and Description |
|---|
ClusterNodeStoreLock(NodeStore nodeStore) |
ClusterNodeStoreLock(NodeStore nodeStore,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocked(String asyncIndexerLane) |
org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken |
lock(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(String asyncIndexerLane) throws CommitFailedException
lock in interface AsyncIndexerLock<org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken>CommitFailedExceptionpublic 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>CommitFailedExceptionpublic boolean isLocked(String asyncIndexerLane)
Copyright © 2010 - 2020 Adobe. All Rights Reserved