Class ActivePolicyEnforcement

java.lang.Object
org.apache.hadoop.hbase.quotas.ActivePolicyEnforcement

@Private @Evolving public class ActivePolicyEnforcement extends Object
A class to ease dealing with tables that have and do not have violation policies being enforced. This class is immutable, expect for locallyCachedPolicies. The locallyCachedPolicies are mutable given the current activePolicies and snapshots. It is expected that when a new instance of this class is instantiated, we also want to invalidate those previously cached policies (as they may now be invalidate if we received new quota usage information).