Package | Description |
---|---|
org.apache.hadoop.hbase.quotas | |
org.apache.hadoop.hbase.quotas.policies |
Modifier and Type | Field and Description |
---|---|
private Map<TableName,SpaceViolationPolicyEnforcement> |
ActivePolicyEnforcement.activePolicies |
private ConcurrentHashMap<TableName,SpaceViolationPolicyEnforcement> |
RegionServerSpaceQuotaManager.enforcedPolicies |
private Map<TableName,SpaceViolationPolicyEnforcement> |
ActivePolicyEnforcement.locallyCachedPolicies |
Modifier and Type | Method and Description |
---|---|
SpaceViolationPolicyEnforcement |
SpaceViolationPolicyEnforcementFactory.create(RegionServerServices rss,
TableName tableName,
SpaceQuotaSnapshot snapshot)
Constructs the appropriate
SpaceViolationPolicyEnforcement for tables that are
in violation of their space quota. |
SpaceViolationPolicyEnforcement |
SpaceViolationPolicyEnforcementFactory.createWithoutViolation(RegionServerServices rss,
TableName tableName,
SpaceQuotaSnapshot snapshot)
Creates the "default"
SpaceViolationPolicyEnforcement for a table that isn't in
violation. |
SpaceViolationPolicyEnforcement |
ActivePolicyEnforcement.getPolicyEnforcement(Region r)
Returns the proper
SpaceViolationPolicyEnforcement implementation for the given table. |
SpaceViolationPolicyEnforcement |
ActivePolicyEnforcement.getPolicyEnforcement(TableName tableName)
Returns the proper
SpaceViolationPolicyEnforcement implementation for the given table. |
Modifier and Type | Method and Description |
---|---|
(package private) Map<TableName,SpaceViolationPolicyEnforcement> |
RegionServerSpaceQuotaManager.copyActiveEnforcements()
Returns the collection of tables which have quota violation policies enforced on
this RegionServer.
|
(package private) Map<TableName,SpaceViolationPolicyEnforcement> |
ActivePolicyEnforcement.getLocallyCachedPolicies()
Returns an unmodifiable version of the policy enforcements that were cached because they are
not in violation of their quota.
|
Map<TableName,SpaceViolationPolicyEnforcement> |
ActivePolicyEnforcement.getPolicies()
Returns an unmodifiable version of the active
SpaceViolationPolicyEnforcement s. |
Constructor and Description |
---|
ActivePolicyEnforcement(Map<TableName,SpaceViolationPolicyEnforcement> activePolicies,
Map<TableName,SpaceQuotaSnapshot> snapshots,
RegionServerServices rss) |
ActivePolicyEnforcement(Map<TableName,SpaceViolationPolicyEnforcement> activePolicies,
Map<TableName,SpaceQuotaSnapshot> snapshots,
RegionServerServices rss,
SpaceViolationPolicyEnforcementFactory factory) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractViolationPolicyEnforcement
Abstract implementation for
SpaceViolationPolicyEnforcement . |
class |
DefaultViolationPolicyEnforcement
The default implementation for
SpaceViolationPolicyEnforcement . |
class |
DisableTableViolationPolicyEnforcement
A
SpaceViolationPolicyEnforcement which disables the table. |
class |
MissingSnapshotViolationPolicyEnforcement
A
SpaceViolationPolicyEnforcement which can be treated as a singleton. |
class |
NoInsertsViolationPolicyEnforcement
A
SpaceViolationPolicyEnforcement which disallows any inserts to the table. |
class |
NoWritesCompactionsViolationPolicyEnforcement
A
SpaceViolationPolicyEnforcement implementation which disables all updates and
compactions. |
class |
NoWritesViolationPolicyEnforcement
A
SpaceViolationPolicyEnforcement implementation which disables all writes flowing
into HBase. |
Modifier and Type | Method and Description |
---|---|
static SpaceViolationPolicyEnforcement |
MissingSnapshotViolationPolicyEnforcement.getInstance() |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.