Class ListenableFutureToApiFuture<V> (2.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class ListenableFutureToApiFuture<V> extends ForwardingListenableFuture.SimpleForwardingListenableFuture<V> implements ApiFuture<V>
INTERNAL USE ONLY. Adapter from Guava ListenableFuture to ApiFuture.
Inheritance
java.lang.Object >
com.google.common.collect.ForwardingObject >
com.google.common.util.concurrent.ForwardingFuture >
com.google.common.util.concurrent.ForwardingListenableFuture >
com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture >
ListenableFutureToApiFuture<V>
Implements
com.google.api.core.ApiFuture<V>
Inherited Members
com.google.common.collect.ForwardingObject.toString()
com.google.common.util.concurrent.ForwardingFuture.cancel(boolean)
com.google.common.util.concurrent.ForwardingFuture.get()
com.google.common.util.concurrent.ForwardingFuture.get(long,java.util.concurrent.TimeUnit)
com.google.common.util.concurrent.ForwardingFuture.isCancelled()
com.google.common.util.concurrent.ForwardingFuture.isDone()
com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture.delegate()
com.google.common.util.concurrent.ForwardingListenableFuture.addListener(java.lang.Runnable,java.util.concurrent.Executor)
Type Parameter |
---|
Name | Description |
V | |
Constructors
ListenableFutureToApiFuture(ListenableFuture<V> delegate)
public ListenableFutureToApiFuture(ListenableFuture<V> delegate)
Parameter |
---|
Name | Description |
delegate | com.google.common.util.concurrent.ListenableFuture<V>
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-12 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]