From 40211d1f0a3e4546eab076e10be8937853490e5e Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Thu, 14 Apr 2016 10:35:04 +0100 Subject: [PATCH] HADOOP-12969 Mark IPC.Client and IPC.Server as @Public, @Evolving (Xiaobing Zhou via stevel) --- .../src/main/java/org/apache/hadoop/ipc/Client.java | 3 ++- .../src/main/java/org/apache/hadoop/ipc/Server.java | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java index 489c35496f..f206861c02 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java @@ -61,6 +61,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceAudience.Public; import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.classification.InterfaceStability.Unstable; import org.apache.hadoop.conf.Configuration; @@ -107,7 +108,7 @@ * * @see Server */ -@InterfaceAudience.LimitedPrivate(value = { "Common", "HDFS", "MapReduce", "Yarn" }) +@Public @InterfaceStability.Evolving public class Client implements AutoCloseable { diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java index eb28ad57d1..1cc9f1d3ee 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java @@ -74,6 +74,7 @@ import org.apache.commons.logging.LogFactory; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceAudience.Private; +import org.apache.hadoop.classification.InterfaceAudience.Public; import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configuration.IntegerRanges; @@ -133,7 +134,7 @@ * * @see Client */ -@InterfaceAudience.LimitedPrivate(value = { "Common", "HDFS", "MapReduce", "Yarn" }) +@Public @InterfaceStability.Evolving public abstract class Server { private final boolean authorize; @@ -439,7 +440,7 @@ public static int getPriorityLevel() { /** * Checks if LogSlowRPC is set true. - * @return + * @return true, if LogSlowRPC is set true, false, otherwise. */ protected boolean isLogSlowRPC() { return logSlowRPC;