Class FutureSupport
java.lang.Object
net.shibboleth.metadata.pipeline.impl.FutureSupport
Helper class for dealing with
Future values.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG
@Nonnull private static final org.slf4j.Logger LOGClass logger.
-
-
Constructor Details
-
FutureSupport
private FutureSupport()Constructor.
-
-
Method Details
-
futureItems
@Nonnull public static <T> List<Item<T>> futureItems(@Nonnull Future<List<Item<T>>> future) throws StageProcessingException Resolves the future value of aFuturecollection value.- Type Parameters:
T- type of the items in the collection- Parameters:
future-Futurevalue to be resolved- Returns:
- resolved value of the
Future - Throws:
StageProcessingException- unless resolution is successful
-