| Modifier and Type | Method and Description |
|---|---|
Promise<Void> |
Channel.sendMessage(T message)
Sends a new message to the channel.
|
| Modifier and Type | Method and Description |
|---|---|
Promise<String> |
BungeeCord.getServer()
Gets this servers name, as defined in the BungeeCord config
|
Promise<String> |
BungeeCordImpl.getServer() |
Promise<List<String>> |
BungeeCord.getServers()
Get a list of server name strings, as defined in the BungeeCord config
|
Promise<List<String>> |
BungeeCordImpl.getServers() |
Promise<Map.Entry<String,Integer>> |
BungeeCord.ip(Player player)
Get the real IP of a player
|
Promise<Map.Entry<String,Integer>> |
BungeeCordImpl.ip(Player player) |
Promise<Integer> |
BungeeCord.playerCount(String serverName)
Gets the amount of players on a certain server, or all servers
|
Promise<Integer> |
BungeeCordImpl.playerCount(String serverName) |
Promise<List<String>> |
BungeeCord.playerList(String serverName)
Gets a list of players connected on a certain server, or all servers.
|
Promise<List<String>> |
BungeeCordImpl.playerList(String serverName) |
Promise<Map.Entry<String,Integer>> |
BungeeCord.serverIp(String serverName)
Get the IP of any server connected to the proxy
|
Promise<Map.Entry<String,Integer>> |
BungeeCordImpl.serverIp(String serverName) |
Promise<UUID> |
BungeeCord.uuid(Player player)
Get the UUID of a player
|
Promise<UUID> |
BungeeCordImpl.uuid(Player player) |
Promise<UUID> |
BungeeCord.uuidOther(String playerName)
Get the UUID of any player connected to the proxy
|
Promise<UUID> |
BungeeCordImpl.uuidOther(String playerName) |
| Modifier and Type | Method and Description |
|---|---|
Promise<R> |
ConversationReply.getReply()
Gets the reply.
|
Promise<Void> |
SimpleConversationChannel.sendMessage(T message,
ConversationReplyListener<R> replyListener,
long timeoutDuration,
TimeUnit unit) |
Promise<Void> |
ConversationChannel.sendMessage(T message,
ConversationReplyListener<R> replyListener,
long timeoutDuration,
TimeUnit unit)
Sends a new message to the channel.
|
| Modifier and Type | Method and Description |
|---|---|
static <R extends ConversationMessage> |
ConversationReply.ofPromise(Promise<R> promiseReply)
Creates a new
ConversationReply. |
| Modifier and Type | Method and Description |
|---|---|
Promise<Collection<Profile>> |
ProfileRepository.lookupKnownProfiles()
Gets a collection of profiles known to the repository.
|
Promise<Optional<Profile>> |
ProfileRepository.lookupProfile(String name)
Gets a profile from this repository, using the name as the base
for the request.
|
Promise<Profile> |
ProfileRepository.lookupProfile(UUID uniqueId)
Gets a profile from this repository, using the unique id as the base for
the request.
|
Promise<Map<UUID,Profile>> |
ProfileRepository.lookupProfiles(Iterable<UUID> uniqueIds)
Populates a map of unique id to profile for the given iterable of unique ids.
|
Promise<Map<String,Profile>> |
ProfileRepository.lookupProfilesByName(Iterable<String> names)
Populates a map of name to profile for the given iterable of names.
|
| Modifier and Type | Method and Description |
|---|---|
static <U> Promise<U> |
Promise.completed(U value)
Returns a Promise which is already completed with the given value.
|
static <U> Promise<U> |
Promise.empty()
Returns a new empty Promise
|
default Promise<V> |
Promise.exceptionally(ThreadContext context,
Function<Throwable,? extends V> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's exception as the argument to the given
function.
|
static <U> Promise<U> |
Promise.exceptionally(Throwable exception)
Returns a Promise which is already completed with the given exception.
|
Promise<V> |
Promise.exceptionallyAsync(Function<Throwable,? extends V> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's exception as the argument to the given
function.
|
default Promise<V> |
Promise.exceptionallyDelayed(ThreadContext context,
Function<Throwable,? extends V> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's exception as the argument to the given
function, after the delay has elapsed.
|
default Promise<V> |
Promise.exceptionallyDelayed(ThreadContext context,
Function<Throwable,? extends V> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's exception as the argument to the given
function, after the delay has elapsed.
|
Promise<V> |
Promise.exceptionallyDelayedAsync(Function<Throwable,? extends V> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's exception as the argument to the given
function, after the delay has elapsed.
|
Promise<V> |
Promise.exceptionallyDelayedAsync(Function<Throwable,? extends V> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's exception as the argument to the given
function, after the delay has elapsed.
|
Promise<V> |
Promise.exceptionallyDelayedSync(Function<Throwable,? extends V> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's exception as the argument to the given
function, after the delay has elapsed.
|
Promise<V> |
Promise.exceptionallyDelayedSync(Function<Throwable,? extends V> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's exception as the argument to the given
function, after the delay has elapsed.
|
Promise<V> |
Promise.exceptionallySync(Function<Throwable,? extends V> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's exception as the argument to the given
function.
|
static Promise<Void> |
Promise.start()
Returns a new base promise to be built on top of.
|
default Promise<V> |
Promise.supply(ThreadContext context,
Supplier<V> supplier)
Schedules the supply of the Promise's result, via the given supplier.
|
Promise<V> |
Promise.supply(V value)
Supplies the Promise's result.
|
Promise<V> |
Promise.supplyAsync(Supplier<V> supplier)
Schedules the supply of the Promise's result, via the given supplier.
|
default Promise<V> |
Promise.supplyDelayed(ThreadContext context,
Supplier<V> supplier,
long delayTicks)
Schedules the supply of the Promise's result, via the given supplier,
after the delay has elapsed.
|
default Promise<V> |
Promise.supplyDelayed(ThreadContext context,
Supplier<V> supplier,
long delay,
TimeUnit unit)
Schedules the supply of the Promise's result, via the given supplier,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyDelayedAsync(Supplier<V> supplier,
long delayTicks)
Schedules the supply of the Promise's result, via the given supplier,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyDelayedAsync(Supplier<V> supplier,
long delay,
TimeUnit unit)
Schedules the supply of the Promise's result, via the given supplier,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyDelayedSync(Supplier<V> supplier,
long delayTicks)
Schedules the supply of the Promise's result, via the given supplier,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyDelayedSync(Supplier<V> supplier,
long delay,
TimeUnit unit)
Schedules the supply of the Promise's result, via the given supplier,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyException(Throwable exception)
Supplies an exceptional result to the Promise.
|
default Promise<V> |
Promise.supplyExceptionally(ThreadContext context,
Callable<V> callable)
Schedules the supply of the Promise's result, via the given callable.
|
Promise<V> |
Promise.supplyExceptionallyAsync(Callable<V> callable)
Schedules the supply of the Promise's result, via the given callable.
|
default Promise<V> |
Promise.supplyExceptionallyDelayed(ThreadContext context,
Callable<V> callable,
long delayTicks)
Schedules the supply of the Promise's result, via the given callable,
after the delay has elapsed.
|
default Promise<V> |
Promise.supplyExceptionallyDelayed(ThreadContext context,
Callable<V> callable,
long delay,
TimeUnit unit)
Schedules the supply of the Promise's result, via the given callable,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyExceptionallyDelayedAsync(Callable<V> callable,
long delayTicks)
Schedules the supply of the Promise's result, via the given callable,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyExceptionallyDelayedAsync(Callable<V> callable,
long delay,
TimeUnit unit)
Schedules the supply of the Promise's result, via the given callable,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyExceptionallyDelayedSync(Callable<V> callable,
long delayTicks)
Schedules the supply of the Promise's result, via the given callable,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyExceptionallyDelayedSync(Callable<V> callable,
long delay,
TimeUnit unit)
Schedules the supply of the Promise's result, via the given callable,
after the delay has elapsed.
|
Promise<V> |
Promise.supplyExceptionallySync(Callable<V> callable)
Schedules the supply of the Promise's result, via the given callable.
|
static <U> Promise<U> |
Promise.supplying(ThreadContext context,
Supplier<U> supplier)
Returns a new Promise, and schedules it's population via the given supplier.
|
static <U> Promise<U> |
Promise.supplyingAsync(Supplier<U> supplier)
Returns a new Promise, and schedules it's population via the given supplier.
|
static <U> Promise<U> |
Promise.supplyingDelayed(ThreadContext context,
Supplier<U> supplier,
long delayTicks)
Returns a new Promise, and schedules it's population via the given supplier,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingDelayed(ThreadContext context,
Supplier<U> supplier,
long delay,
TimeUnit unit)
Returns a new Promise, and schedules it's population via the given supplier,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingDelayedAsync(Supplier<U> supplier,
long delayTicks)
Returns a new Promise, and schedules it's population via the given supplier,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingDelayedAsync(Supplier<U> supplier,
long delay,
TimeUnit unit)
Returns a new Promise, and schedules it's population via the given supplier,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingDelayedSync(Supplier<U> supplier,
long delayTicks)
Returns a new Promise, and schedules it's population via the given supplier,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingDelayedSync(Supplier<U> supplier,
long delay,
TimeUnit unit)
Returns a new Promise, and schedules it's population via the given supplier,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingExceptionally(ThreadContext context,
Callable<U> callable)
Returns a new Promise, and schedules it's population via the given callable.
|
static <U> Promise<U> |
Promise.supplyingExceptionallyAsync(Callable<U> callable)
Returns a new Promise, and schedules it's population via the given callable.
|
static <U> Promise<U> |
Promise.supplyingExceptionallyDelayed(ThreadContext context,
Callable<U> callable,
long delayTicks)
Returns a new Promise, and schedules it's population via the given callable,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingExceptionallyDelayed(ThreadContext context,
Callable<U> callable,
long delay,
TimeUnit unit)
Returns a new Promise, and schedules it's population via the given callable,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingExceptionallyDelayedAsync(Callable<U> callable,
long delayTicks)
Returns a new Promise, and schedules it's population via the given callable,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingExceptionallyDelayedAsync(Callable<U> callable,
long delay,
TimeUnit unit)
Returns a new Promise, and schedules it's population via the given callable,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingExceptionallyDelayedSync(Callable<U> callable,
long delayTicks)
Returns a new Promise, and schedules it's population via the given callable,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingExceptionallyDelayedSync(Callable<U> callable,
long delay,
TimeUnit unit)
Returns a new Promise, and schedules it's population via the given callable,
after the delay has elapsed.
|
static <U> Promise<U> |
Promise.supplyingExceptionallySync(Callable<U> callable)
Returns a new Promise, and schedules it's population via the given callable.
|
static <U> Promise<U> |
Promise.supplyingSync(Supplier<U> supplier)
Returns a new Promise, and schedules it's population via the given supplier.
|
Promise<V> |
Promise.supplySync(Supplier<V> supplier)
Schedules the supply of the Promise's result, via the given supplier.
|
default Promise<Void> |
Promise.thenAccept(ThreadContext context,
Consumer<? super V> action)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
action.
|
default Promise<Void> |
Promise.thenAcceptAsync(Consumer<? super V> action)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
action.
|
default Promise<Void> |
Promise.thenAcceptDelayed(ThreadContext context,
Consumer<? super V> action,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
action, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenAcceptDelayed(ThreadContext context,
Consumer<? super V> action,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
action, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenAcceptDelayedAsync(Consumer<? super V> action,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
action, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenAcceptDelayedAsync(Consumer<? super V> action,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
action, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenAcceptDelayedSync(Consumer<? super V> action,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
action, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenAcceptDelayedSync(Consumer<? super V> action,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
action, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenAcceptSync(Consumer<? super V> action)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
action.
|
default <U> Promise<U> |
Promise.thenApply(ThreadContext context,
Function<? super V,? extends U> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function.
|
<U> Promise<U> |
Promise.thenApplyAsync(Function<? super V,? extends U> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function.
|
default <U> Promise<U> |
Promise.thenApplyDelayed(ThreadContext context,
Function<? super V,? extends U> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
default <U> Promise<U> |
Promise.thenApplyDelayed(ThreadContext context,
Function<? super V,? extends U> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenApplyDelayedAsync(Function<? super V,? extends U> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenApplyDelayedAsync(Function<? super V,? extends U> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenApplyDelayedSync(Function<? super V,? extends U> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenApplyDelayedSync(Function<? super V,? extends U> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenApplySync(Function<? super V,? extends U> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function.
|
default <U> Promise<U> |
Promise.thenCompose(ThreadContext context,
Function<? super V,? extends Promise<U>> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function.
|
<U> Promise<U> |
Promise.thenComposeAsync(Function<? super V,? extends Promise<U>> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function.
|
<U> Promise<U> |
Promise.thenComposeDelayedAsync(Function<? super V,? extends Promise<U>> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenComposeDelayedAsync(Function<? super V,? extends Promise<U>> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenComposeDelayedSync(Function<? super V,? extends Promise<U>> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenComposeDelayedSync(Function<? super V,? extends Promise<U>> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
default <U> Promise<U> |
Promise.thenComposeDelayedSync(ThreadContext context,
Function<? super V,? extends Promise<U>> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
default <U> Promise<U> |
Promise.thenComposeDelayedSync(ThreadContext context,
Function<? super V,? extends Promise<U>> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenComposeSync(Function<? super V,? extends Promise<U>> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function.
|
default Promise<Void> |
Promise.thenRun(ThreadContext context,
Runnable action)
Returns a new Promise that, when this promise completes normally, executes
the given task.
|
default Promise<Void> |
Promise.thenRunAsync(Runnable action)
Returns a new Promise that, when this promise completes normally, executes
the given task.
|
default Promise<Void> |
Promise.thenRunDelayed(ThreadContext context,
Runnable action,
long delayTicks)
Returns a new Promise that, when this promise completes normally, executes
the given task, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenRunDelayed(ThreadContext context,
Runnable action,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, executes
the given task, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenRunDelayedAsync(Runnable action,
long delayTicks)
Returns a new Promise that, when this promise completes normally, executes
the given task, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenRunDelayedAsync(Runnable action,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, executes
the given task, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenRunDelayedSync(Runnable action,
long delayTicks)
Returns a new Promise that, when this promise completes normally, executes
the given task, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenRunDelayedSync(Runnable action,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, executes
the given task, after the delay has elapsed.
|
default Promise<Void> |
Promise.thenRunSync(Runnable action)
Returns a new Promise that, when this promise completes normally, executes
the given task.
|
static <U> Promise<U> |
Promise.wrapFuture(Future<U> future)
Returns a Promise which represents the given future.
|
| Modifier and Type | Method and Description |
|---|---|
default <U> Promise<U> |
Promise.thenCompose(ThreadContext context,
Function<? super V,? extends Promise<U>> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function.
|
<U> Promise<U> |
Promise.thenComposeAsync(Function<? super V,? extends Promise<U>> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function.
|
<U> Promise<U> |
Promise.thenComposeDelayedAsync(Function<? super V,? extends Promise<U>> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenComposeDelayedAsync(Function<? super V,? extends Promise<U>> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenComposeDelayedSync(Function<? super V,? extends Promise<U>> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenComposeDelayedSync(Function<? super V,? extends Promise<U>> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
default <U> Promise<U> |
Promise.thenComposeDelayedSync(ThreadContext context,
Function<? super V,? extends Promise<U>> fn,
long delayTicks)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
default <U> Promise<U> |
Promise.thenComposeDelayedSync(ThreadContext context,
Function<? super V,? extends Promise<U>> fn,
long delay,
TimeUnit unit)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function, after the delay has elapsed.
|
<U> Promise<U> |
Promise.thenComposeSync(Function<? super V,? extends Promise<U>> fn)
Returns a new Promise that, when this promise completes normally, is
executed with this promise's result as the argument to the given
function.
|
| Modifier and Type | Method and Description |
|---|---|
default <T> Promise<T> |
Scheduler.call(Callable<T> callable)
Compute the result of the passed callable.
|
default <T> Promise<T> |
Scheduler.callLater(Callable<T> callable,
long delayTicks)
Compute the result of the passed callable at some point in the future
|
default <T> Promise<T> |
Scheduler.callLater(Callable<T> callable,
long delay,
TimeUnit unit)
Compute the result of the passed callable at some point in the future
|
default Promise<Void> |
Scheduler.run(Runnable runnable)
Execute the passed runnable
|
default Promise<Void> |
Scheduler.runLater(Runnable runnable,
long delayTicks)
Execute the passed runnable at some point in the future
|
default Promise<Void> |
Scheduler.runLater(Runnable runnable,
long delay,
TimeUnit unit)
Execute the passed runnable at some point in the future
|
default <T> Promise<T> |
Scheduler.supply(Supplier<T> supplier)
Compute the result of the passed supplier.
|
default <T> Promise<T> |
Scheduler.supplyLater(Supplier<T> supplier,
long delayTicks)
Compute the result of the passed supplier at some point in the future
|
default <T> Promise<T> |
Scheduler.supplyLater(Supplier<T> supplier,
long delay,
TimeUnit unit)
Compute the result of the passed supplier at some point in the future
|
| Modifier and Type | Method and Description |
|---|---|
<T> Promise<T> |
ContextualPromiseBuilder.call(Callable<T> callable) |
Promise<Void> |
ContextualPromiseBuilder.run(Runnable runnable) |
<T> Promise<T> |
ContextualPromiseBuilder.supply(Supplier<T> supplier) |
Copyright © 2020. All rights reserved.