Interface IndexingContext
-
public interface IndexingContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommitInfo
getCommitInfo()
Commit info associated with commit as part of which IndexEditor is being invokedjava.lang.String
getIndexPath()
Path of the index definition in the repositoryvoid
indexUpdateFailed(java.lang.Exception e)
Invoked by IndexEditor to indicate that update of index has failedboolean
isAsync()
Flag indicating that indexed is being done asynchronouslyboolean
isReindexing()
Flag indicating that index is being reindexvoid
registerIndexCommitCallback(IndexCommitCallback callback)
registersIndexCommitCallback
instance which can then be notified of how indexing commit progresses.
-
-
-
Method Detail
-
getIndexPath
java.lang.String getIndexPath()
Path of the index definition in the repository- Returns:
- index path in the repository
-
getCommitInfo
CommitInfo getCommitInfo()
Commit info associated with commit as part of which IndexEditor is being invoked
-
isReindexing
boolean isReindexing()
Flag indicating that index is being reindex
-
isAsync
boolean isAsync()
Flag indicating that indexed is being done asynchronously
-
indexUpdateFailed
void indexUpdateFailed(java.lang.Exception e)
Invoked by IndexEditor to indicate that update of index has failed- Parameters:
e
- exception stack for failed updated
-
registerIndexCommitCallback
void registerIndexCommitCallback(IndexCommitCallback callback)
registersIndexCommitCallback
instance which can then be notified of how indexing commit progresses.- Parameters:
callback
-
-
-