HBASE-10741 Deprecate HTablePool and HTableFactory

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1577624 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ndimiduk 2014-03-14 17:58:42 +00:00
parent 221bd54ba2
commit f2ff9baa64
2 changed files with 4 additions and 2 deletions

View File

@ -27,10 +27,11 @@ import java.io.IOException;
/**
* Factory for creating HTable instances.
*
* @since 0.21.0
* @deprecated as of 0.98.1. See {@link HConnectionManager#createConnection(Configuration)}.
*/
@InterfaceAudience.Public
@InterfaceStability.Stable
@Deprecated
public class HTableFactory implements HTableInterfaceFactory {
@Override
public HTableInterface createHTableInterface(Configuration config,

View File

@ -64,9 +64,10 @@ import com.google.protobuf.ServiceException;
* <p>
* Pool will manage its own connections to the cluster. See
* {@link HConnectionManager}.
* @deprecated Use {@link HConnection#getTable(String)} instead.
* @deprecated as of 0.98.1. See {@link HConnection#getTable(String)}.
*/
@InterfaceAudience.Private
@Deprecated
public class HTablePool implements Closeable {
private final PoolMap<String, HTableInterface> tables;
private final int maxSize;