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