Package org.apache.hadoop.hbase.quotas
Interface SpaceQuotaSnapshotView.SpaceQuotaStatusView
- All Known Implementing Classes:
SpaceQuotaSnapshot.SpaceQuotaStatus
- Enclosing interface:
- SpaceQuotaSnapshotView
Encapsulates the state of a quota on a table. The quota may or may not be in violation. If the
quota is not in violation, the violation may not be presented. If the quota is in violation,
there is guaranteed to be presented.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the violation policy, which may not be presented.boolean
Returnstrue
if the quota is being violated,false
otherwise.
-
Method Details
-
getPolicy
Returns the violation policy, which may not be presented. It is guaranteed to be presented ifisInViolation()
istrue
, but may not be presented otherwise. -
isInViolation
boolean isInViolation()Returnstrue
if the quota is being violated,false
otherwise.
-