Class RemoteApiFuture<T extends RemoteApi>


  • public class RemoteApiFuture<T extends RemoteApi>
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPermanent​(io.aether.utils.interfaces.ABiConsumer<T,​io.aether.utils.futures.AFuture> task)  
      void addPermanent​(io.aether.utils.interfaces.AConsumer<T> task)  
      void executeAll​(FastFutureContext ctx, io.aether.utils.futures.AFuture sendFuture)  
      boolean isEmpty()  
      void run​(io.aether.utils.interfaces.ABiConsumer<T,​io.aether.utils.futures.AFuture> t)  
      void run​(io.aether.utils.interfaces.AConsumer<T> t)  
      <R> io.aether.utils.futures.ARFuture<R> runRes​(io.aether.utils.interfaces.ABiFunction<T,​io.aether.utils.futures.AFuture,​io.aether.utils.futures.ARFuture<R>> t)  
      <R> io.aether.utils.futures.ARFuture<R> runRes​(io.aether.utils.interfaces.AFunction<T,​io.aether.utils.futures.ARFuture<R>> t)  
      int size()  
      • Methods inherited from class java.lang.Object

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

      • RemoteApiFuture

        public RemoteApiFuture​(FastMetaApi<?,​T> meta)
    • Method Detail

      • run

        public void run​(io.aether.utils.interfaces.AConsumer<T> t)
      • run

        public void run​(io.aether.utils.interfaces.ABiConsumer<T,​io.aether.utils.futures.AFuture> t)
      • runRes

        public <R> io.aether.utils.futures.ARFuture<R> runRes​(io.aether.utils.interfaces.AFunction<T,​io.aether.utils.futures.ARFuture<R>> t)
      • runRes

        public <R> io.aether.utils.futures.ARFuture<R> runRes​(io.aether.utils.interfaces.ABiFunction<T,​io.aether.utils.futures.AFuture,​io.aether.utils.futures.ARFuture<R>> t)
      • executeAll

        public void executeAll​(FastFutureContext ctx,
                               io.aether.utils.futures.AFuture sendFuture)
      • addPermanent

        public void addPermanent​(io.aether.utils.interfaces.AConsumer<T> task)
      • addPermanent

        public void addPermanent​(io.aether.utils.interfaces.ABiConsumer<T,​io.aether.utils.futures.AFuture> task)
      • isEmpty

        public boolean isEmpty()
      • size

        public int size()