HBASE-18687 Add @since 2.0.0 to new classes; AMENDMENT

This commit is contained in:
Michael Stack 2017-08-25 14:14:51 -07:00
parent e62fdd9db4
commit 6859d4e207
5 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,7 @@ import org.apache.hadoop.hbase.backup.impl.IncrementalTableBackupClient;
import org.apache.hadoop.hbase.backup.impl.TableBackupClient; import org.apache.hadoop.hbase.backup.impl.TableBackupClient;
import org.apache.hadoop.hbase.client.Connection; import org.apache.hadoop.hbase.client.Connection;
@InterfaceAudience.Private
public class BackupClientFactory { public class BackupClientFactory {
public static TableBackupClient create (Connection conn, String backupId, BackupRequest request) public static TableBackupClient create (Connection conn, String backupId, BackupRequest request)

View File

@ -33,6 +33,7 @@ import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferE
/** /**
* A binary comparator which lexicographically compares against the specified * A binary comparator which lexicographically compares against the specified
* byte array using {@link org.apache.hadoop.hbase.util.Bytes#compareTo(byte[], byte[])}. * byte array using {@link org.apache.hadoop.hbase.util.Bytes#compareTo(byte[], byte[])}.
* @since 2.0.0
*/ */
@InterfaceAudience.Public @InterfaceAudience.Public
public class BinaryComparator extends org.apache.hadoop.hbase.filter.ByteArrayComparable { public class BinaryComparator extends org.apache.hadoop.hbase.filter.ByteArrayComparable {

View File

@ -89,6 +89,7 @@ import org.apache.hadoop.security.token.TokenSelector;
* outside the lock in {@link Call} and {@link HBaseRpcController} which means the implementations * outside the lock in {@link Call} and {@link HBaseRpcController} which means the implementations
* of the callbacks are free to hold any lock.</li> * of the callbacks are free to hold any lock.</li>
* </ul> * </ul>
* @since 2.0.0
*/ */
@InterfaceAudience.Private @InterfaceAudience.Private
public abstract class AbstractRpcClient<T extends RpcConnection> implements RpcClient { public abstract class AbstractRpcClient<T extends RpcConnection> implements RpcClient {

View File

@ -42,6 +42,7 @@ import org.apache.hadoop.security.token.TokenIdentifier;
/** /**
* A utility class that encapsulates SASL logic for RPC client. Copied from * A utility class that encapsulates SASL logic for RPC client. Copied from
* <code>org.apache.hadoop.security</code> * <code>org.apache.hadoop.security</code>
* @since 2.0.0
*/ */
@InterfaceAudience.Private @InterfaceAudience.Private
public abstract class AbstractHBaseSaslRpcClient { public abstract class AbstractHBaseSaslRpcClient {

View File

@ -37,6 +37,9 @@ import com.google.protobuf.ByteString;
import com.google.protobuf.RpcController; import com.google.protobuf.RpcController;
import com.google.protobuf.ServiceException; import com.google.protobuf.ServiceException;
/**
* @since 2.0.0
*/
@InterfaceAudience.Private @InterfaceAudience.Private
public class AccessControlUtil { public class AccessControlUtil {
private AccessControlUtil() {} private AccessControlUtil() {}