public interface IndexFeedback
IndexProvider
to signal to ModeShape that one or more indexes need to be rebuilt. The
IndexProvider
calls the scan(String)
and scan(String, Path)
methods one or multiple times, depending
upon which portion(s) of the repository content need to be scanned and reindexed.Modifier and Type | Method and Description |
---|---|
void |
scan(String workspaceName)
Signal that all of the repository content in the specified workspace should be scanned.
|
void |
scan(String workspaceName,
Path path)
Signal that a portion of the repository content at/under the given path in the specified workspace should be scanned.
|
void scan(String workspaceName, Path path)
workspaceName
- the name of the workspace containing the content to be scanned; may not be nullpath
- the path at/under which the content should be scanned and reindexed; may not be nullvoid scan(String workspaceName)
workspaceName
- the name of the workspace containing the content to be scanned; may not be nullCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.