public interface IBaseIndex
Modifier and Type | Method and Description |
---|---|
void |
addBaseIndexChangeListener(IncQueryBaseIndexChangeListener listener)
Adds a coarse-grained listener that will be invoked after the NavigationHelper index or the underlying model is changed.
|
boolean |
addIndexingErrorListener(IIndexingErrorListener listener)
Adds a listener for internal errors in the index.
|
boolean |
addInstanceObserver(IInstanceObserver observer,
java.lang.Object observedObject)
Register a lightweight observer that is notified if any edge starting at the given Object changes.
|
<V> V |
coalesceTraversals(java.util.concurrent.Callable<V> callable)
The given callback will be executed, and all model traversals and index registrations will be delayed until the
execution is done.
|
void |
removeBaseIndexChangeListener(IncQueryBaseIndexChangeListener listener)
Removes a registered listener.
|
boolean |
removeIndexingErrorListener(IIndexingErrorListener listener)
Removes a listener for internal errors in the index
|
boolean |
removeInstanceObserver(IInstanceObserver observer,
java.lang.Object observedObject)
Unregisters a lightweight observer for the given Object.
|
void |
resampleDerivedFeatures()
Updates the value of indexed derived features that are not well-behaving.
|
<V> V coalesceTraversals(java.util.concurrent.Callable<V> callable) throws java.lang.reflect.InvocationTargetException
callable
- java.lang.reflect.InvocationTargetException
void addBaseIndexChangeListener(IncQueryBaseIndexChangeListener listener)
removeBaseIndexChangeListener(IncQueryBaseIndexChangeListener)
listener
- void removeBaseIndexChangeListener(IncQueryBaseIndexChangeListener listener)
addBaseIndexChangeListener(IncQueryBaseIndexChangeListener)
listener
- void resampleDerivedFeatures()
boolean addIndexingErrorListener(IIndexingErrorListener listener)
listener
- boolean removeIndexingErrorListener(IIndexingErrorListener listener)
listener
- boolean addInstanceObserver(IInstanceObserver observer, java.lang.Object observedObject)
observer
- the listener instanceobservedObject
- the observed instance objectboolean removeInstanceObserver(IInstanceObserver observer, java.lang.Object observedObject)
observer
- the listener instanceobservedObject
- the observed instance object