Class TestAsyncExecutor<T>

java.lang.Object
net.binis.codegen.async.executor.impl.BaseAsyncExecutorImpl<net.binis.codegen.async.AsyncExecutor<T>,T>
net.binis.codegen.async.executor.impl.AsyncExecutorImpl<T>
net.binis.codegen.mock.TestAsyncExecutor<T>
All Implemented Interfaces:
net.binis.codegen.async.AsyncExecutor<T>

public class TestAsyncExecutor<T> extends net.binis.codegen.async.executor.impl.AsyncExecutorImpl<T>
  • Field Summary

    Fields inherited from class net.binis.codegen.async.executor.impl.BaseAsyncExecutorImpl

    delay, flow, lock, unit
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected CompletableFuture<T>
     
    static void
     

    Methods inherited from class net.binis.codegen.async.executor.impl.AsyncExecutorImpl

    collect, execute

    Methods inherited from class net.binis.codegen.async.executor.impl.BaseAsyncExecutorImpl

    delay, delay, flow, lock

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.binis.codegen.async.AsyncExecutor

    delay, delay, flow, lock
  • Constructor Details

    • TestAsyncExecutor

      public TestAsyncExecutor()
  • Method Details

    • mockExecutor

      public static void mockExecutor()
    • internalExecute

      protected CompletableFuture<T> internalExecute(Supplier<T> supplier)
      Overrides:
      internalExecute in class net.binis.codegen.async.executor.impl.BaseAsyncExecutorImpl<net.binis.codegen.async.AsyncExecutor<T>,T>