public class

ThreadLocalIndexerControl

extends Object
implements IndexerControl
java.lang.Object
   ↳ com.atlassian.confluence.search.ThreadLocalIndexerControl

Class Overview

Allows the enabling and disabling of indexing for the current executing thread.

Summary

Public Constructors
ThreadLocalIndexerControl()
Public Methods
static ThreadLocalIndexerControl getInstance()
boolean indexingDisabled()
boolean indexingEnabled()
void resume()
Enable indexing.
void suspend()
Disable indexing.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.search.IndexerControl

Public Constructors

public ThreadLocalIndexerControl ()

Public Methods

public static ThreadLocalIndexerControl getInstance ()

public boolean indexingDisabled ()

public boolean indexingEnabled ()

public void resume ()

Enable indexing.

public void suspend ()

Disable indexing.