org.keycloak.models.sessions.infinispan.util

## Class FuturesHelper

- java.lang.Object
- - org.keycloak.models.sessions.infinispan.util.FuturesHelper

-     public class FuturesHelper
      extends Object

  Not thread-safe. Assumes tasks are added from single thread.
  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FuturesHelper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addTask(Future future)`
    `int` | `size()`
    `void` | `waitForAllToFinish()`

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

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

- - ### Constructor Detail

    - #### FuturesHelper

          public FuturesHelper()

  - ### Method Detail

    - #### addTask

          public void addTask(Future future)

    - #### waitForAllToFinish

          public void waitForAllToFinish()

    - #### size

          public int size()

Copyright © 2020 JBoss by Red Hat. All rights reserved.