HADOOP-12579. Deprecate WriteableRPCEngine. Contributed by Wei Zhou

This commit is contained in:
Kai Zheng 2016-10-09 15:07:03 +06:00
parent 4d106213c0
commit ec0b70716c
1 changed files with 4 additions and 1 deletions

View File

@ -46,6 +46,7 @@ import org.apache.htrace.core.Tracer;
/** An RpcEngine implementation for Writable data. */
@InterfaceStability.Evolving
@Deprecated
public class WritableRpcEngine implements RpcEngine {
private static final Log LOG = LogFactory.getLog(RPC.class);
@ -331,6 +332,7 @@ public class WritableRpcEngine implements RpcEngine {
/** An RPC Server. */
@Deprecated
public static class Server extends RPC.Server {
/**
* Construct an RPC server.
@ -443,7 +445,8 @@ public class WritableRpcEngine implements RpcEngine {
value = value.substring(0, 55)+"...";
LOG.info(value);
}
@Deprecated
static class WritableRpcInvoker implements RpcInvoker {
@Override