| Package | Description |
|---|---|
| org.apache.hadoop.hbase.quotas |
| Modifier and Type | Method and Description |
|---|---|
static SpaceQuotaSnapshot |
QuotaTableUtil.getCurrentSnapshot(Connection conn,
String namespace)
Returns the Master's view of a quota on the given
namespace or null if the
Master has no quota information on that namespace. |
static SpaceQuotaSnapshot |
QuotaTableUtil.getCurrentSnapshot(Connection conn,
org.apache.hadoop.hbase.TableName tn)
Returns the Master's view of a quota on the given
tableName or null if the
Master has no quota information on that table. |
static SpaceQuotaSnapshot |
SpaceQuotaSnapshot.getNoSuchSnapshot()
Returns a singleton that corresponds to no snapshot information.
|
static SpaceQuotaSnapshot |
SpaceQuotaSnapshot.toSpaceQuotaSnapshot(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshot proto) |
| Modifier and Type | Method and Description |
|---|---|
static Map<org.apache.hadoop.hbase.TableName,SpaceQuotaSnapshot> |
QuotaTableUtil.getRegionServerQuotaSnapshots(Connection conn,
org.apache.hadoop.hbase.ServerName regionServer)
Fetches the observed
SpaceQuotaSnapshots observed by a RegionServer. |
static Map<org.apache.hadoop.hbase.TableName,SpaceQuotaSnapshot> |
QuotaTableUtil.getSnapshots(Connection conn)
Fetches all
SpaceQuotaSnapshot objects from the hbase:quota table. |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshot |
SpaceQuotaSnapshot.toProtoSnapshot(SpaceQuotaSnapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
static void |
QuotaTableUtil.extractQuotaSnapshot(Result result,
Map<org.apache.hadoop.hbase.TableName,SpaceQuotaSnapshot> snapshots)
Extracts the
SpaceViolationPolicy and TableName from the provided
Result and adds them to the given Map. |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.