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
InterruptedException
public void setException(Exception exception) throws InterruptedException
InterruptedException
public void cancel()
public HttpCommand getCommand()
Copyright © 2009-2012 jclouds. All Rights Reserved.