@InterfaceAudience.Public public static interface SpaceQuotaSnapshotView.SpaceQuotaStatusView
| Modifier and Type | Method and Description |
|---|---|
Optional<SpaceViolationPolicy> |
getPolicy()
Returns the violation policy, which may not be presented.
|
boolean |
isInViolation()
Returns
true if the quota is being violated, false otherwise. |
Optional<SpaceViolationPolicy> getPolicy()
isInViolation() is true, but may not be presented otherwise.boolean isInViolation()
true if the quota is being violated, false otherwise.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.