/**
* Dianping.com Inc.
* Copyright (c) 2003-2013 All Rights Reserved.
*/
package com.dianping.pigeon.remoting.invoker.concurrent;
import java.util.concurrent.TimeUnit;
import com.dianping.pigeon.remoting.common.domain.InvocationResponse;
public interface CallFuture extends Call {
InvocationResponse getResponse() throws InterruptedException;
InvocationResponse getResponse(long timeoutMillis) throws InterruptedException;
InvocationResponse getResponse(long timeout, TimeUnit unit) throws InterruptedException;
boolean cancel();
boolean isCancelled();
boolean isDone();
}