|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface IndexLifecycleManager
Manage an index lifecycle.
Method Summary | |
---|---|
long |
activate(Context context)
Activates search indexes. |
void |
deactivate()
De-activates indexing (as happens from the admin page) and removes index directories. |
Collection<String> |
getAllIndexPaths()
|
boolean |
isIndexingEnabled()
|
long |
optimize()
Optimize the underlying indexes. |
long |
reIndexAll(Context context)
Reindex everything. |
void |
shutdown()
Shuts down the indexing manager and closes its resources (if any). |
int |
size()
|
Methods inherited from interface com.atlassian.jira.util.collect.Sized |
---|
isEmpty |
Method Detail |
---|
long reIndexAll(Context context)
context
- used to report progress back to the user or to the logs. Must not be null.
long optimize()
IndexException
- if the indexes are seriously in troublevoid shutdown()
shutdown
in interface Shutdown
long activate(Context context)
context
- used to report progress back to the user or to the logs. Must not be null.
void deactivate()
boolean isIndexingEnabled()
Collection<String> getAllIndexPaths()
int size()
size
in interface Sized
reIndexAll(Context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |