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 Description FuturesHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTask(Future future)
int
size()
void
waitForAllToFinish()
-
-
-
Method Detail
-
addTask
public void addTask(Future future)
-
waitForAllToFinish
public void waitForAllToFinish()
-
size
public int size()
-
-