@InterfaceAudience.Private @InterfaceStability.Evolving public abstract class AbstractViolationPolicyEnforcement extends Object implements SpaceViolationPolicyEnforcement
SpaceViolationPolicyEnforcement.| Constructor and Description |
|---|
AbstractViolationPolicyEnforcement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areCompactionsDisabled()
Returns whether or not compactions on this table should be disabled for this policy.
|
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot |
getQuotaSnapshot()
Returns the
SpaceQuotaSnapshot this was initialized with. |
RegionServerServices |
getRegionServerServices() |
org.apache.hadoop.hbase.TableName |
getTableName() |
void |
initialize(RegionServerServices rss,
org.apache.hadoop.hbase.TableName tableName,
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot)
Initializes this policy instance.
|
void |
setQuotaSnapshot(org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) |
void |
setRegionServerServices(RegionServerServices rss) |
void |
setTableName(org.apache.hadoop.hbase.TableName tableName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheck, checkBulkLoad, disable, enable, getPolicyName, shouldCheckBulkLoadspublic void setRegionServerServices(RegionServerServices rss)
public void setTableName(org.apache.hadoop.hbase.TableName tableName)
public RegionServerServices getRegionServerServices()
public org.apache.hadoop.hbase.TableName getTableName()
public void setQuotaSnapshot(org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot)
public org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot getQuotaSnapshot()
SpaceViolationPolicyEnforcementSpaceQuotaSnapshot this was initialized with.getQuotaSnapshot in interface SpaceViolationPolicyEnforcementpublic void initialize(RegionServerServices rss, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot)
SpaceViolationPolicyEnforcementinitialize in interface SpaceViolationPolicyEnforcementpublic boolean areCompactionsDisabled()
SpaceViolationPolicyEnforcementareCompactionsDisabled in interface SpaceViolationPolicyEnforcementCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.