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.booleanReturnstrueif the quota is being violated,falseotherwise.
-
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()Returnstrueif the quota is being violated,falseotherwise.
-