Uses of Enum
org.apache.hadoop.hbase.quotas.SpaceViolationPolicy
-
Uses of SpaceViolationPolicy in org.apache.hadoop.hbase.quotas
Modifier and TypeFieldDescription(package private) final Optional<SpaceViolationPolicy>
SpaceQuotaSnapshot.SpaceQuotaStatus.policy
Modifier and TypeMethodDescriptionprotected static SpaceViolationPolicy
QuotaTableUtil.getViolationPolicy
(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota proto) static SpaceViolationPolicy
Returns the enum constant of this type with the specified name.static SpaceViolationPolicy[]
SpaceViolationPolicy.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionSpaceQuotaSnapshot.SpaceQuotaStatus.getPolicy()
Returns the violation policy, which may be null.SpaceQuotaSnapshotView.SpaceQuotaStatusView.getPolicy()
Returns the violation policy, which may not be presented.Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceLimitRequest
SpaceLimitSettings.buildProtoAddQuota
(long sizeLimit, SpaceViolationPolicy violationPolicy) Builds aQuotaProtos.SpaceQuota
protobuf object given the arguments.protected static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota
QuotaTableUtil.getProtoViolationPolicy
(SpaceViolationPolicy policy) private boolean
QuotaObserverChore.isDisableSpaceViolationPolicy
(SpaceViolationPolicy currPolicy, SpaceViolationPolicy targetPolicy) Method to check whether we are dealing with DISABLESpaceViolationPolicy
.static QuotaSettings
QuotaSettingsFactory.limitNamespaceSpace
(String namespace, long sizeLimit, SpaceViolationPolicy violationPolicy) Creates aQuotaSettings
object to limit the FileSystem space usage for the given namespace to the given size in bytes.static QuotaSettings
QuotaSettingsFactory.limitTableSpace
(TableName tableName, long sizeLimit, SpaceViolationPolicy violationPolicy) Creates aQuotaSettings
object to limit the FileSystem space usage for the given table to the given size in bytes.ModifierConstructorDescription(package private)
SpaceLimitSettings
(String namespace, long sizeLimit, SpaceViolationPolicy violationPolicy) (package private)
SpaceLimitSettings
(TableName tableName, long sizeLimit, SpaceViolationPolicy violationPolicy) SpaceQuotaStatus
(SpaceViolationPolicy policy) Constructs aSpaceQuotaSnapshot
which is in violation of the providedpolicy
.private
SpaceQuotaStatus
(SpaceViolationPolicy policy, boolean inViolation)