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:
parent
221bd54ba2
commit
f2ff9baa64
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue