Package org.mockserver.scheduler
Class Scheduler
- java.lang.Object
-
- org.mockserver.scheduler.Scheduler
-
public class Scheduler extends Object
- Author:
- jamesdbloom
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Scheduler.SchedulerThreadFactory
-
Constructor Summary
Constructors Constructor Description Scheduler(MockServerLogger mockServerLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
schedule(Runnable command, boolean synchronous, Delay... delays)
void
shutdown()
void
submit(Runnable command)
void
submit(Runnable command, boolean synchronous)
void
submit(HttpForwardActionResult future, Runnable command, boolean synchronous)
-
-
-
Constructor Detail
-
Scheduler
public Scheduler(MockServerLogger mockServerLogger)
-
-
Method Detail
-
shutdown
public void shutdown()
-
submit
public void submit(Runnable command)
-
submit
public void submit(Runnable command, boolean synchronous)
-
submit
public void submit(HttpForwardActionResult future, Runnable command, boolean synchronous)
-
-