src/jdk.incubator.adba/share/classes/jdk/incubator/sql2/Submission.java
branchJDK-8188051-branch
changeset 56997 c9cbac2979fb
parent 56797 fb523d4d9185
equal deleted inserted replaced
56832:4f7713e6a308 56997:c9cbac2979fb
    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