Class Context.Work

  • Enclosing class:
    Context

    public static class Context.Work
    extends java.lang.Object
    A unit of asynchronous work awaiting completion. Effectively a container for state while the Context waits for the AioCallback to fire.
    • Constructor Summary

      Constructors 
      Constructor Description
      Work​(Context.Event event, java.util.concurrent.CompletableFuture<java.lang.Object> future)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • future

        public final java.util.concurrent.CompletableFuture<java.lang.Object> future
    • Constructor Detail

      • Work

        public Work​(Context.Event event,
                    java.util.concurrent.CompletableFuture<java.lang.Object> future)