public class Scheduler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Scheduler.SchedulerThreadFactory |
Constructor and Description |
---|
Scheduler(MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
void |
schedule(Runnable command,
boolean synchronous,
Delay... delays) |
void |
shutdown() |
void |
submit(HttpForwardActionResult future,
BiConsumer<HttpResponse,Throwable> consumer,
boolean synchronous) |
void |
submit(HttpForwardActionResult future,
Runnable command,
boolean synchronous) |
void |
submit(Runnable command) |
void |
submit(Runnable command,
boolean synchronous) |
public Scheduler(MockServerLogger mockServerLogger)
public void shutdown()
public void submit(Runnable command)
public void submit(Runnable command, boolean synchronous)
public void submit(HttpForwardActionResult future, Runnable command, boolean synchronous)
public void submit(HttpForwardActionResult future, BiConsumer<HttpResponse,Throwable> consumer, boolean synchronous)
Copyright © 2020. All rights reserved.