|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.sharing.index.DefaultSharedEntityIndexManager
public class DefaultSharedEntityIndexManager
Default IndexManager for shared entities
| Constructor Summary | |
|---|---|
DefaultSharedEntityIndexManager(SharedEntityIndexer indexer,
SearchRequestManager searchRequestManager,
PortalPageManager portalPageManager,
FileFactory fileFactory)
|
|
| 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 |
isEmpty()
|
boolean |
isIndexingEnabled()
|
long |
optimize()
Optimize the underlying indexes. |
long |
reIndexAll()
|
long |
reIndexAll(Context context)
Reindex everything. |
void |
shutdown()
Shuts down the indexing manager and closes its resources (if any). |
int |
size()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSharedEntityIndexManager(SharedEntityIndexer indexer,
SearchRequestManager searchRequestManager,
PortalPageManager portalPageManager,
FileFactory fileFactory)
| Method Detail |
|---|
public long reIndexAll(Context context)
IndexLifecycleManager
reIndexAll in interface IndexLifecycleManagercontext - used to report progress back to the user or to the logs. Must not be null.
public long reIndexAll()
throws IndexException
IndexExceptionpublic long optimize()
IndexLifecycleManager
optimize in interface IndexLifecycleManagerpublic void shutdown()
IndexLifecycleManager
shutdown in interface IndexLifecycleManagershutdown in interface Shutdownpublic long activate(Context context)
IndexLifecycleManager
activate in interface IndexLifecycleManagercontext - used to report progress back to the user or to the logs. Must not be null.
public void deactivate()
IndexLifecycleManager
deactivate in interface IndexLifecycleManagerpublic boolean isIndexingEnabled()
isIndexingEnabled in interface IndexLifecycleManagerpublic Collection<String> getAllIndexPaths()
getAllIndexPaths in interface IndexLifecycleManagerpublic int size()
size in interface Sizedsize in interface IndexLifecycleManagerIndexLifecycleManager.reIndexAll(Context)public boolean isEmpty()
isEmpty in interface Sizedpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||