public interface Action<R>
| 限定符和类型 | 方法和说明 |
|---|---|
R |
execute() |
default void |
onFailure(Exception e,
ThreadPool threadPool) |
default R |
onReaction(R result,
ThreadPool threadPool) |
default boolean |
shouldReact(R result) |
default boolean shouldReact(R result)
default R onReaction(R result, ThreadPool threadPool)
default void onFailure(Exception e, ThreadPool threadPool)
Copyright © 2020. All rights reserved.