Class BatchedFuture<ResponseT>

  • All Implemented Interfaces:
    com.google.api.core.ApiFuture<ResponseT>, Future<ResponseT>

    @InternalApi
    public class BatchedFuture<ResponseT>
    extends com.google.api.core.AbstractApiFuture<ResponseT>
    An ApiFuture to be used with batching.

    This is public only for technical reasons, for advanced usage.

    • Constructor Detail

      • BatchedFuture

        public BatchedFuture()
    • Method Detail

      • create

        public static <T> BatchedFuture<T> create()
        Get a new instance.
      • set

        public boolean set​(ResponseT value)
        Overrides:
        set in class com.google.api.core.AbstractApiFuture<ResponseT>
      • setException

        public boolean setException​(Throwable throwable)
        Overrides:
        setException in class com.google.api.core.AbstractApiFuture<ResponseT>