Class SettableApiFuture<V> (2.13.1)

  public 
  
 final 
  
 class 
 SettableApiFuture<V> 
  
 extends 
  
 AbstractApiFuture<V> 
 

An ApiFuture whose result can be set. Similar to Guava's SettableFuture , but redeclared so that Guava could be shaded.

Inheritance

java.lang.Object > AbstractApiFuture > SettableApiFuture<V>

Type Parameter

Name
Description
V

Static Methods

<V>create()

  public 
  
 static 
  
 SettableApiFuture<V> 
  
< V>create 
 () 
 
Returns
Type
Description

Methods

set(V value)

  public 
  
 boolean 
  
 set 
 ( 
 V 
  
 value 
 ) 
 
Parameter
Name
Description
value
V
Returns
Type
Description
Overrides

setException(Throwable throwable)

  public 
  
 boolean 
  
 setException 
 ( 
 Throwable 
  
 throwable 
 ) 
 
Parameter
Name
Description
throwable
Returns
Type
Description
Overrides
Design a Mobile Site
View Site in Mobile | Classic
Share by: