public class HttpCommandRendezvous<T,R extends HttpRequest> extends Object
| Constructor and Description |
|---|
HttpCommandRendezvous(HttpCommand command,
SynchronousQueue rendezvous,
Future<T> future) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
HttpCommand |
getCommand() |
Future<T> |
getFuture() |
void |
setException(Exception exception) |
void |
setResponse(HttpResponse response) |
public HttpCommandRendezvous(HttpCommand command, SynchronousQueue rendezvous, Future<T> future)
public void setResponse(HttpResponse response) throws InterruptedException
InterruptedExceptionpublic void setException(Exception exception) throws InterruptedException
InterruptedExceptionpublic void cancel()
public HttpCommand getCommand()
Copyright © 2009-2012 jclouds. All Rights Reserved.