public class Scheduler extends Object
Constructor and Description |
---|
Scheduler() |
Modifier and Type | Method and Description |
---|---|
void |
schedule(Runnable command,
Delay delay) |
void |
schedule(Runnable command,
Delay delay,
boolean synchronous) |
void |
shutdown() |
void |
submit(Runnable command) |
void |
submit(Runnable command,
boolean synchronous) |
void |
submit(com.google.common.util.concurrent.SettableFuture<HttpResponse> future,
Runnable command,
boolean synchronous) |
public void shutdown()
public void submit(Runnable command)
public void submit(Runnable command, boolean synchronous)
public void submit(com.google.common.util.concurrent.SettableFuture<HttpResponse> future, Runnable command, boolean synchronous)
Copyright © 2018. All rights reserved.