Package | Description |
---|---|
org.apache.hadoop.hbase.quotas |
Modifier and Type | Method and Description |
---|---|
static SpaceViolationPolicy |
SpaceViolationPolicy.valueOf(String name)
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 Type | Method and Description |
---|---|
Optional<SpaceViolationPolicy> |
SpaceQuotaSnapshotView.SpaceQuotaStatusView.getPolicy()
Returns the violation policy, which may not be presented.
|
Modifier and Type | Method and Description |
---|---|
static QuotaSettings |
QuotaSettingsFactory.limitNamespaceSpace(String namespace,
long sizeLimit,
SpaceViolationPolicy violationPolicy)
Creates a
QuotaSettings 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 a
QuotaSettings object to limit the FileSystem space usage for the given table
to the given size in bytes. |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.