Ejemplo n.º 1
0
 /**
  * @return new eager SimpleReact builder configured to run on a separate thread (non-blocking
  *     current thread), sequentially Common free thread Executor from
  */
 public static SimpleReact sequentialCommonBuilder() {
   return SimpleReact.builder()
       .async(false)
       .executor(ThreadPools.getCommonFreeThread())
       .retrier(
           RetryBuilder.getDefaultInstance().withScheduler(ThreadPools.getCommonFreeThreadRetry()))
       .build();
 }