Package ru.bitel.common.concurrent

# Class ConcurrentUtils

java.lang.Object
ru.bitel.common.concurrent.ConcurrentUtils

public class ConcurrentUtils extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConcurrentUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static boolean`
  `awaitFutures(List<? extends Future<?>> futures)`
  `static boolean`
  `awaitFutures(List<? extends Future<?>> futures, long timeout, TimeUnit unit)`
  `static boolean`
  `invokeAll(List<? extends Runnable> tasks, int threadCount)`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### ConcurrentUtils

    public ConcurrentUtils()

- ## Method Details

  - ### awaitFutures

    public static boolean awaitFutures(List<? extends Future<?>> futures, long timeout, TimeUnit unit) throws InterruptedException
    Throws:
      `InterruptedException`

  - ### awaitFutures

    public static boolean awaitFutures(List<? extends Future<?>> futures) throws InterruptedException
    Throws:
      `InterruptedException`

  - ### invokeAll

    public static boolean invokeAll(List<? extends Runnable> tasks, int threadCount) throws InterruptedException
    Throws:
      `InterruptedException`