Class ClusterNodeStoreLock

  • All Implemented Interfaces:
    AsyncIndexerLock<org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken>

    public class ClusterNodeStoreLock
    extends Object
    implements AsyncIndexerLock<org.apache.jackrabbit.oak.plugins.index.importer.ClusteredLockToken>
    Lock implementation for clustered scenario. The locking is done by setting the lease time for the lane to distant future which prevent AsyncIndexUpdate from running.
    • Constructor Detail

      • ClusterNodeStoreLock

        public ClusterNodeStoreLock​(NodeStore nodeStore)
      • ClusterNodeStoreLock

        public ClusterNodeStoreLock​(NodeStore nodeStore,
                                    Clock clock)