public class ServiceQueryInfo<T>
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected TerminableIntermediateFuture<T> | 
future
The future. 
 | 
protected ServiceQuery<T> | 
query
The query. 
 | 
| Constructor and Description | 
|---|
ServiceQueryInfo(ServiceQuery<T> query,
                TerminableIntermediateFuture<T> future)
Create a new query info. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TerminableIntermediateFuture<T> | 
getFuture()
Get the future. 
 | 
ServiceQuery<T> | 
getQuery()
Get the query. 
 | 
void | 
setFuture(TerminableIntermediateFuture<T> future)
Set the future. 
 | 
void | 
setQuery(ServiceQuery<T> query)
Set the query. 
 | 
protected ServiceQuery<T> query
protected TerminableIntermediateFuture<T> future
public ServiceQueryInfo(ServiceQuery<T> query, TerminableIntermediateFuture<T> future)
public ServiceQuery<T> getQuery()
public void setQuery(ServiceQuery<T> query)
query - The query to setpublic TerminableIntermediateFuture<T> getFuture()
public void setFuture(TerminableIntermediateFuture<T> future)
future - The future to set