|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.search.ThreadLocalIndexerControl
public class ThreadLocalIndexerControl
Allows the enabling and disabling of indexing for the current executing thread.
| Constructor Summary | |
|---|---|
ThreadLocalIndexerControl()
|
|
| Method Summary | |
|---|---|
static ThreadLocalIndexerControl |
getInstance()
|
boolean |
indexingDisabled()
|
boolean |
indexingEnabled()
|
void |
resume()
Enable indexing. |
void |
suspend()
Disable indexing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadLocalIndexerControl()
| Method Detail |
|---|
public static ThreadLocalIndexerControl getInstance()
public void suspend()
IndexerControl
suspend in interface IndexerControlpublic void resume()
IndexerControl
resume in interface IndexerControlpublic boolean indexingEnabled()
indexingEnabled in interface IndexerControlpublic boolean indexingDisabled()
indexingDisabled in interface IndexerControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||