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.
|
* Factory for creating HTable instances.
|
||||||
*
|
*
|
||||||
* @since 0.21.0
|
* @deprecated as of 0.98.1. See {@link HConnectionManager#createConnection(Configuration)}.
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Stable
|
@InterfaceStability.Stable
|
||||||
|
@Deprecated
|
||||||
public class HTableFactory implements HTableInterfaceFactory {
|
public class HTableFactory implements HTableInterfaceFactory {
|
||||||
@Override
|
@Override
|
||||||
public HTableInterface createHTableInterface(Configuration config,
|
public HTableInterface createHTableInterface(Configuration config,
|
||||||
|
|
|
@ -64,9 +64,10 @@ import com.google.protobuf.ServiceException;
|
||||||
* <p>
|
* <p>
|
||||||
* Pool will manage its own connections to the cluster. See
|
* Pool will manage its own connections to the cluster. See
|
||||||
* {@link HConnectionManager}.
|
* {@link HConnectionManager}.
|
||||||
* @deprecated Use {@link HConnection#getTable(String)} instead.
|
* @deprecated as of 0.98.1. See {@link HConnection#getTable(String)}.
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.Private
|
@InterfaceAudience.Private
|
||||||
|
@Deprecated
|
||||||
public class HTablePool implements Closeable {
|
public class HTablePool implements Closeable {
|
||||||
private final PoolMap<String, HTableInterface> tables;
|
private final PoolMap<String, HTableInterface> tables;
|
||||||
private final int maxSize;
|
private final int maxSize;
|
||||||
|
|
Loading…
Reference in New Issue