public abstract class BinaryIndexerFactory extends Object
| Constructor and Description |
|---|
BinaryIndexerFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract BinaryIndexer |
createIndexer()
Creates new
BinaryIndexer. |
abstract String |
getIndexerName()
Return the name of this indexer.
|
abstract int |
getIndexVersion()
Return the version stamp of the schema that is currently being stored
by this indexer.
|
abstract void |
rootsRemoved(Iterable<? extends URL> removedRoots)
Called by indexing infrastructure to notify indexer that roots were deregistered,
for example the project owning these roots was closed.
|
void |
scanFinished(Context context)
Notifies the indexer that scanning of a binary root just finished.
|
boolean |
scanStarted(Context context)
Notifies the indexer that a binary root is going to be scanned.
|
public abstract BinaryIndexer createIndexer()
BinaryIndexer.public abstract void rootsRemoved(Iterable<? extends URL> removedRoots)
removedRoots - the iterable of removed rootspublic abstract String getIndexerName()
public abstract int getIndexVersion()
public boolean scanStarted(Context context)
context - The indexed binary root.false means that the whole root should be rescanned
(eg. no up to date check is done, etc)public void scanFinished(Context context)
context - The indexed binary root.