net.dongliu.prettypb.rpc.client.BlockingRpcCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prettypb-rpc Show documentation
Show all versions of prettypb-rpc Show documentation
proto rpc libs, compatible with proto-rpc-pro
package net.dongliu.prettypb.rpc.client;
import net.dongliu.prettypb.runtime.include.RpcCallback;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
/**
* convert async call to syn
*
* @author Dong Liu
*/
public class BlockingRpcCallback implements RpcCallback