Uses of Class
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot
Packages that use SpaceQuotaSnapshot
Package
Description
Provides HBase Client
-
Uses of SpaceQuotaSnapshot in org.apache.hadoop.hbase.client
Methods in org.apache.hadoop.hbase.client that return types with arguments of type SpaceQuotaSnapshotModifier and TypeMethodDescriptionAsyncHBaseAdmin.getCurrentSpaceQuotaSnapshot(String namespace) AsyncHBaseAdmin.getCurrentSpaceQuotaSnapshot(TableName tableName) RawAsyncHBaseAdmin.getCurrentSpaceQuotaSnapshot(String namespace) private CompletableFuture<SpaceQuotaSnapshot>RawAsyncHBaseAdmin.getCurrentSpaceQuotaSnapshot(RawAsyncHBaseAdmin.Converter<SpaceQuotaSnapshot, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.GetQuotaStatesResponse> converter) RawAsyncHBaseAdmin.getCurrentSpaceQuotaSnapshot(TableName tableName) AsyncHBaseAdmin.getRegionServerSpaceQuotaSnapshots(ServerName serverName) RawAsyncHBaseAdmin.getRegionServerSpaceQuotaSnapshots(ServerName serverName) Method parameters in org.apache.hadoop.hbase.client with type arguments of type SpaceQuotaSnapshotModifier and TypeMethodDescriptionprivate CompletableFuture<SpaceQuotaSnapshot>RawAsyncHBaseAdmin.getCurrentSpaceQuotaSnapshot(RawAsyncHBaseAdmin.Converter<SpaceQuotaSnapshot, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.GetQuotaStatesResponse> converter) -
Uses of SpaceQuotaSnapshot in org.apache.hadoop.hbase.master
Methods in org.apache.hadoop.hbase.master with parameters of type SpaceQuotaSnapshotModifier and TypeMethodDescriptionMetricsMasterWrapperImpl.convertSnapshot(SpaceQuotaSnapshot snapshot) -
Uses of SpaceQuotaSnapshot in org.apache.hadoop.hbase.quotas
Fields in org.apache.hadoop.hbase.quotas declared as SpaceQuotaSnapshotModifier and TypeFieldDescriptionstatic final SpaceQuotaSnapshotQuotaSnapshotStore.NO_QUOTASingleton to represent a table without a quota defined.private static final SpaceQuotaSnapshotSpaceQuotaSnapshot.NO_SUCH_SNAPSHOTFields in org.apache.hadoop.hbase.quotas with type parameters of type SpaceQuotaSnapshotModifier and TypeFieldDescriptionprivate AtomicReference<Map<TableName,SpaceQuotaSnapshot>> RegionServerSpaceQuotaManager.currentQuotaSnapshotsprivate final Map<String,SpaceQuotaSnapshot> QuotaObserverChore.namespaceQuotaSnapshotsprivate final Map<String,SpaceQuotaSnapshot> QuotaObserverChore.readOnlyNamespaceSnapshotsprivate final Map<TableName,SpaceQuotaSnapshot> QuotaObserverChore.readOnlyTableQuotaSnapshotsprivate final Map<TableName,SpaceQuotaSnapshot> ActivePolicyEnforcement.snapshotsprivate final Map<TableName,SpaceQuotaSnapshot> QuotaObserverChore.tableQuotaSnapshotsMethods in org.apache.hadoop.hbase.quotas that return SpaceQuotaSnapshotModifier and TypeMethodDescriptionstatic SpaceQuotaSnapshotQuotaTableUtil.getCurrentSnapshotFromQuotaTable(Connection conn, TableName tableName) Returns the current space quota snapshot of the giventableNamefromQuotaTableUtil.QUOTA_TABLE_NAMEor null if the no quota information is available for that tableName.NamespaceQuotaSnapshotStore.getCurrentState(String namespace) QuotaSnapshotStore.getCurrentState(T subject) Returns the currentSpaceQuotaSnapshotfor the givensubject.TableQuotaSnapshotStore.getCurrentState(TableName table) (package private) SpaceQuotaSnapshotQuotaObserverChore.getNamespaceQuotaSnapshot(String namespace) Fetches theSpaceQuotaSnapshotfor the given namespace from this chore.static SpaceQuotaSnapshotSpaceQuotaSnapshot.getNoSuchSnapshot()Returns a singleton that corresponds to no snapshot information.SpaceViolationPolicyEnforcement.getQuotaSnapshot()Returns theSpaceQuotaSnapshotthiswas initialized with.(package private) SpaceQuotaSnapshotQuotaObserverChore.getTableQuotaSnapshot(TableName table) Fetches theSpaceQuotaSnapshotfor the given table.NamespaceQuotaSnapshotStore.getTargetState(String subject, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota spaceQuota) QuotaSnapshotStore.getTargetState(T subject, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota spaceQuota) TableQuotaSnapshotStore.getTargetState(TableName table, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota spaceQuota) static SpaceQuotaSnapshotSpaceQuotaSnapshot.toSpaceQuotaSnapshot(org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshot proto) Methods in org.apache.hadoop.hbase.quotas that return types with arguments of type SpaceQuotaSnapshotModifier and TypeMethodDescriptionRegionServerSpaceQuotaManager.copyQuotaSnapshots()Copies the lastSpaceQuotaSnapshots that were recorded.SpaceQuotaRefresherChore.fetchSnapshotsFromQuotaTable()Reads all quota snapshots from the quota table.RegionServerSpaceQuotaManager.getActivePoliciesAsMap()Converts a map of table toSpaceViolationPolicyEnforcements intoSpaceViolationPolicys.QuotaObserverChore.getNamespaceQuotaSnapshots()Returns an unmodifiable view over the currentSpaceQuotaSnapshotobjects for each HBase namespace with a quota defined.static Map<TableName,SpaceQuotaSnapshot> QuotaTableUtil.getSnapshots(Connection conn) Fetches allSpaceQuotaSnapshotobjects from thehbase:quotatable.QuotaObserverChore.getTableQuotaSnapshots()Returns an unmodifiable view over the currentSpaceQuotaSnapshotobjects for each HBase table with a quota defined.Methods in org.apache.hadoop.hbase.quotas with parameters of type SpaceQuotaSnapshotModifier and TypeMethodDescriptionSpaceViolationPolicyEnforcementFactory.create(RegionServerServices rss, TableName tableName, SpaceQuotaSnapshot snapshot) Constructs the appropriateSpaceViolationPolicyEnforcementfor tables that are in violation of their space quota.(package private) static PutQuotaTableUtil.createPutForSpaceSnapshot(TableName tableName, SpaceQuotaSnapshot snapshot) SpaceViolationPolicyEnforcementFactory.createWithoutViolation(RegionServerServices rss, TableName tableName, SpaceQuotaSnapshot snapshot) Creates the "default"SpaceViolationPolicyEnforcementfor a table that isn't in violation.voidRegionServerSpaceQuotaManager.enforceViolationPolicy(TableName tableName, SpaceQuotaSnapshot snapshot) Enforces the given violationPolicy on the given table in this RegionServer.voidSpaceViolationPolicyEnforcement.initialize(RegionServerServices rss, TableName tableName, SpaceQuotaSnapshot snapshot) Initializes this policy instance.(package private) booleanSpaceQuotaRefresherChore.isInViolation(SpaceQuotaSnapshot snapshot) Checks if the givensnapshotis in violation, allowing the snapshot to be null.voidNamespaceQuotaSnapshotStore.setCurrentState(String namespace, SpaceQuotaSnapshot snapshot) voidQuotaSnapshotStore.setCurrentState(T subject, SpaceQuotaSnapshot state) Persists the currentSpaceQuotaSnapshotfor thesubject.voidTableQuotaSnapshotStore.setCurrentState(TableName table, SpaceQuotaSnapshot snapshot) (package private) voidQuotaObserverChore.setNamespaceQuotaSnapshot(String namespace, SpaceQuotaSnapshot snapshot) Stores the givensnapshotfor the givennamespacein this chore.(package private) voidQuotaObserverChore.setTableQuotaSnapshot(TableName table, SpaceQuotaSnapshot snapshot) Stores the quota state for the given table.static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshotSpaceQuotaSnapshot.toProtoSnapshot(SpaceQuotaSnapshot snapshot) voidSpaceQuotaSnapshotNotifier.transitionTable(TableName tableName, SpaceQuotaSnapshot snapshot) Informs the cluster of the current state of a space quota for a table.voidTableSpaceQuotaSnapshotNotifier.transitionTable(TableName tableName, SpaceQuotaSnapshot snapshot) (package private) voidQuotaObserverChore.updateNamespaceQuota(String namespace, SpaceQuotaSnapshot currentSnapshot, SpaceQuotaSnapshot targetSnapshot, org.apache.hbase.thirdparty.com.google.common.collect.Multimap<String, TableName> tablesByNamespace) Updates the hbase:quota table with the target quota policy for thisnamespaceif necessary.(package private) voidQuotaObserverChore.updateTableQuota(TableName table, SpaceQuotaSnapshot currentSnapshot, SpaceQuotaSnapshot targetSnapshot) Updates the hbase:quota table with the new quota policy for thistableif necessary.Method parameters in org.apache.hadoop.hbase.quotas with type arguments of type SpaceQuotaSnapshotModifier and TypeMethodDescriptionstatic voidQuotaTableUtil.extractQuotaSnapshot(Result result, Map<TableName, SpaceQuotaSnapshot> snapshots) Extracts theSpaceViolationPolicyandTableNamefrom the providedResultand adds them to the givenMap.(package private) voidSpaceQuotaRefresherChore.extractQuotaSnapshot(Result result, Map<TableName, SpaceQuotaSnapshot> snapshots) Wrapper aroundQuotaTableUtil.extractQuotaSnapshot(Result, Map)for testing.voidRegionServerSpaceQuotaManager.updateQuotaSnapshot(Map<TableName, SpaceQuotaSnapshot> newSnapshots) Updates the currentSpaceQuotaSnapshots for the RegionServer. -
Uses of SpaceQuotaSnapshot in org.apache.hadoop.hbase.quotas.policies
Fields in org.apache.hadoop.hbase.quotas.policies declared as SpaceQuotaSnapshotModifier and TypeFieldDescription(package private) SpaceQuotaSnapshotAbstractViolationPolicyEnforcement.quotaSnapshotMethods in org.apache.hadoop.hbase.quotas.policies that return SpaceQuotaSnapshotMethods in org.apache.hadoop.hbase.quotas.policies with parameters of type SpaceQuotaSnapshotModifier and TypeMethodDescriptionvoidAbstractViolationPolicyEnforcement.initialize(RegionServerServices rss, TableName tableName, SpaceQuotaSnapshot snapshot) voidAbstractViolationPolicyEnforcement.setQuotaSnapshot(SpaceQuotaSnapshot snapshot) -
Uses of SpaceQuotaSnapshot in org.apache.hadoop.hbase.thrift2.client
Methods in org.apache.hadoop.hbase.thrift2.client that return SpaceQuotaSnapshotModifier and TypeMethodDescriptionThriftAdmin.getCurrentSpaceQuotaSnapshot(String namespace) ThriftAdmin.getCurrentSpaceQuotaSnapshot(TableName tableName) Methods in org.apache.hadoop.hbase.thrift2.client that return types with arguments of type SpaceQuotaSnapshotModifier and TypeMethodDescriptionThriftAdmin.getRegionServerSpaceQuotaSnapshots(ServerName serverName)