|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 IndexerControl
public void resume()
IndexerControl
resume
in interface IndexerControl
public boolean indexingEnabled()
indexingEnabled
in interface IndexerControl
public boolean indexingDisabled()
indexingDisabled
in interface IndexerControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |