Class JoinedResults


  • public final class JoinedResults
    extends java.lang.Object
    Contains references to a set of joined future values.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<com.google.common.util.concurrent.ListenableFuture<?>,​java.lang.Object> futures  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private JoinedResults​(java.util.Map<com.google.common.util.concurrent.ListenableFuture<?>,​java.lang.Object> futures)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T get​(com.google.common.util.concurrent.ListenableFuture<T> future)
      Gets a future value if it was part of the joined future values, else throws an illegal argument exception.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • futures

        private final java.util.Map<com.google.common.util.concurrent.ListenableFuture<?>,​java.lang.Object> futures
    • Constructor Detail

      • JoinedResults

        private JoinedResults​(java.util.Map<com.google.common.util.concurrent.ListenableFuture<?>,​java.lang.Object> futures)
    • Method Detail

      • get

        public <T> T get​(com.google.common.util.concurrent.ListenableFuture<T> future)
        Gets a future value if it was part of the joined future values, else throws an illegal argument exception.