HADOOP-12969 Mark IPC.Client and IPC.Server as @Public, @Evolving (Xiaobing Zhou via stevel)
This commit is contained in:
parent
27b131e79c
commit
40211d1f0a
|
@ -61,6 +61,7 @@ import javax.security.sasl.Sasl;
|
|||
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 @@ import com.google.protobuf.CodedOutputStream;
|
|||
*
|
||||
* @see Server
|
||||
*/
|
||||
@InterfaceAudience.LimitedPrivate(value = { "Common", "HDFS", "MapReduce", "Yarn" })
|
||||
@Public
|
||||
@InterfaceStability.Evolving
|
||||
public class Client implements AutoCloseable {
|
||||
|
||||
|
|
|
@ -74,6 +74,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.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 @@ import com.google.protobuf.Message.Builder;
|
|||
*
|
||||
* @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 abstract class Server {
|
|||
|
||||
/**
|
||||
* Checks if LogSlowRPC is set true.
|
||||
* @return
|
||||
* @return true, if LogSlowRPC is set true, false, otherwise.
|
||||
*/
|
||||
protected boolean isLogSlowRPC() {
|
||||
return logSlowRPC;
|
||||
|
|
Loading…
Reference in New Issue