equal
deleted
inserted
replaced
39 * The concern is that it requires the implementor to implement their own |
39 * The concern is that it requires the implementor to implement their own |
40 * CompletionStage or at the least subclass CompletableFuture to override |
40 * CompletionStage or at the least subclass CompletableFuture to override |
41 * cancel. Neither of these is trivial. |
41 * cancel. Neither of these is trivial. |
42 * |
42 * |
43 * @param <T> The type of the result of the {@link Operation} that created this |
43 * @param <T> The type of the result of the {@link Operation} that created this |
44 * {@link Submission} |
44 * {@code Submission} |
45 */ |
45 */ |
46 public interface Submission<T> { |
46 public interface Submission<T> { |
47 |
47 |
48 /** |
48 /** |
49 * Request that the {@link Operation} not be executed or that its execution be |
49 * Request that the {@link Operation} not be executed or that its execution be |