Filter.Results
Modifier and Type | Method and Description |
---|---|
IndexChangeAdapter |
getIndexChangeAdapter()
Get the ChangeSetAdapter implementation through which changes to content are sent to the index.
|
void |
removeAll()
Remove all of the index entries from the index.
|
void |
shutdown(boolean destroyed)
Shut down this index and release all runtime resources.
|
IndexChangeAdapter getIndexChangeAdapter()
ChangeSetListener
that is registered on the event bus and kept throughout the lifetime of the index (even if there
are changes), and that listener delegates to this adapter.void removeAll()
void shutdown(boolean destroyed)
destroyed
is true
, then this index has been
removed from the repository and will not be reused; thus all persistent resources should also be released. If
destroyed
is false
, then this repository is merely shutting down and the index's persistent resources
should be kept so that they are available when the repository is restarted.destroyed
- true if this index is being permanently removed from the repository and all runtime and persistent
resources can/should be released and cleaned up, or false if the repository is being shutdown and this index will be
needed the next time the repository is startedCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.