Package | Description |
---|---|
org.apache.hadoop.hbase.quotas | |
org.apache.hadoop.hbase.quotas.policies |
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 |
---|---|
java.util.Map<TableName,SpaceViolationPolicyEnforcement> |
ActivePolicyEnforcement.getPolicies()
Returns an unmodifiable version of the active
SpaceViolationPolicyEnforcement s. |
Constructor and Description |
---|
ActivePolicyEnforcement(java.util.Map<TableName,SpaceViolationPolicyEnforcement> activePolicies,
java.util.Map<TableName,SpaceQuotaSnapshot> snapshots,
RegionServerServices rss) |
ActivePolicyEnforcement(java.util.Map<TableName,SpaceViolationPolicyEnforcement> activePolicies,
java.util.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() |