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 Details

    • FuturesHelper

      public FuturesHelper()
  • Method Details

    • addTask

      public void addTask(Future future)
    • waitForAllToFinish

      public void waitForAllToFinish()
    • size

      public int size()