org.jclouds.http
Class HttpCommandRendezvous<T,R extends HttpRequest>
java.lang.Object
org.jclouds.http.HttpCommandRendezvous<T,R>
public class HttpCommandRendezvous<T,R extends HttpRequest>
- extends Object
Used for passing objects for response processing
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpCommandRendezvous
public HttpCommandRendezvous(HttpCommand command,
SynchronousQueue rendezvous,
Future<T> future)
setResponse
public void setResponse(HttpResponse response)
throws InterruptedException
- Throws:
InterruptedException
setException
public void setException(Exception exception)
throws InterruptedException
- Throws:
InterruptedException
cancel
public void cancel()
getCommand
public HttpCommand getCommand()
getFuture
public Future<T> getFuture()
Copyright © 2009-2011 jclouds. All Rights Reserved.