Class ThreadLocalSchedulerControl
- java.lang.Object
-
- com.atlassian.confluence.impl.schedule.caesium.ThreadLocalSchedulerControl
-
public class ThreadLocalSchedulerControl extends Object
Allows the enabling and disabling of scheduler for the current executing thread.- Since:
- 6.1
-
-
Constructor Summary
Constructors Constructor Description ThreadLocalSchedulerControl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThreadLocalSchedulerControl
getInstance()
void
resume()
boolean
schedulerDisabled()
boolean
schedulerEnabled()
void
suspend()
-
-
-
Method Detail
-
getInstance
public static ThreadLocalSchedulerControl getInstance()
-
suspend
public void suspend()
-
resume
public void resume()
-
schedulerEnabled
public boolean schedulerEnabled()
-
schedulerDisabled
public boolean schedulerDisabled()
-
-