public class IndexTracker
extends java.lang.Object
Constructor and Description |
---|
IndexTracker() |
IndexTracker(IndexCopier cloner) |
IndexTracker(org.apache.jackrabbit.oak.plugins.index.lucene.reader.LuceneIndexReaderFactory readerFactory) |
IndexTracker(org.apache.jackrabbit.oak.plugins.index.lucene.reader.LuceneIndexReaderFactory readerFactory,
@Nullable org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.NRTIndexFactory nrtFactory) |
Modifier and Type | Method and Description |
---|---|
@Nullable LuceneIndexNode |
acquireIndexNode(java.lang.String path)
Acquire the index node, if the index is good.
|
void |
close() |
AsyncIndexInfoService |
getAsyncIndexInfoService() |
org.apache.jackrabbit.oak.plugins.index.search.BadIndexTracker |
getBadIndexTracker() |
@Nullable LuceneIndexDefinition |
getIndexDefinition(java.lang.String indexPath) |
java.util.Set<java.lang.String> |
getIndexNodePaths() |
MountInfoProvider |
getMountInfoProvider() |
NodeState |
getRoot() |
void |
refresh() |
void |
setAsyncIndexInfoService(AsyncIndexInfoService asyncIndexInfoService) |
void |
update(NodeState root) |
public IndexTracker()
public IndexTracker(IndexCopier cloner)
public IndexTracker(org.apache.jackrabbit.oak.plugins.index.lucene.reader.LuceneIndexReaderFactory readerFactory)
public IndexTracker(org.apache.jackrabbit.oak.plugins.index.lucene.reader.LuceneIndexReaderFactory readerFactory, @Nullable @Nullable org.apache.jackrabbit.oak.plugins.index.lucene.hybrid.NRTIndexFactory nrtFactory)
public MountInfoProvider getMountInfoProvider()
public void close()
public void update(NodeState root)
public void setAsyncIndexInfoService(AsyncIndexInfoService asyncIndexInfoService)
public AsyncIndexInfoService getAsyncIndexInfoService()
public void refresh()
@Nullable public @Nullable LuceneIndexNode acquireIndexNode(java.lang.String path)
path
- the index path@Nullable public @Nullable LuceneIndexDefinition getIndexDefinition(java.lang.String indexPath)
public java.util.Set<java.lang.String> getIndexNodePaths()
public org.apache.jackrabbit.oak.plugins.index.search.BadIndexTracker getBadIndexTracker()
public NodeState getRoot()
Copyright © 2010 - 2020 Adobe. All Rights Reserved