@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() |
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–2021 The Apache Software Foundation. All rights reserved.