Class BatchPromise<T>

    • Constructor Detail

      • BatchPromise

        public BatchPromise​( executed)
    • Method Detail

      • getSentPromise

        public > getSentPromise()
      • cancel

        public boolean cancel​(boolean mayInterruptIfRunning)
        Specified by:
         in interface <T>
        Overrides:
        cancel in class RedissonPromise<T>
      • sync

        public RPromise<T> sync()
                         throws 
        Description copied from interface: RFuture
        Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
        Specified by:
        sync in interface RFuture<T>
        Specified by:
        sync in interface RPromise<T>
        Overrides:
        sync in class RedissonPromise<T>
        Returns:
        Future object
        Throws:
        - if the current thread was interrupted