Uses of Class
org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot
Packages that use org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot
Package
Description
Provides HBase Client
-
Uses of org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in org.apache.hadoop.hbase.client
Methods in org.apache.hadoop.hbase.client that return org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotHBaseAdmin.getCurrentSpaceQuotaSnapshot(String namespace) org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotHBaseAdmin.getCurrentSpaceQuotaSnapshot(org.apache.hadoop.hbase.TableName tableName) Methods in org.apache.hadoop.hbase.client that return types with arguments of type org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in inModifier and TypeMethodDescriptionMap<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> HBaseAdmin.getRegionServerSpaceQuotaSnapshots(org.apache.hadoop.hbase.ServerName serverName) -
Uses of org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in org.apache.hadoop.hbase.quotas
Fields in org.apache.hadoop.hbase.quotas declared as org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in inModifier and TypeFieldDescriptionstatic final org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotQuotaSnapshotStore.NO_QUOTASingleton to represent a table without a quota defined.Methods in org.apache.hadoop.hbase.quotas that return org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in inModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotQuotaTableUtil.getCurrentSnapshotFromQuotaTable(org.apache.hadoop.hbase.client.Connection conn, org.apache.hadoop.hbase.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.org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNamespaceQuotaSnapshotStore.getCurrentState(String namespace) org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotQuotaSnapshotStore.getCurrentState(T subject) Returns the currentSpaceQuotaSnapshotfor the givensubject.org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotTableQuotaSnapshotStore.getCurrentState(org.apache.hadoop.hbase.TableName table) static org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotSpaceQuotaSnapshot.getNoSuchSnapshot()Returns a singleton that corresponds to no snapshot information.org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotSpaceViolationPolicyEnforcement.getQuotaSnapshot()Returns theSpaceQuotaSnapshotthiswas initialized with.org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotNamespaceQuotaSnapshotStore.getTargetState(String subject, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota spaceQuota) org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotQuotaSnapshotStore.getTargetState(T subject, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota spaceQuota) Computes the targetSpaceQuotaSnapshotfor the givensubjectandspaceQuota.org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotTableQuotaSnapshotStore.getTargetState(org.apache.hadoop.hbase.TableName table, org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuota spaceQuota) static org.apache.hadoop.hbase.quotas.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 org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in inModifier and TypeMethodDescriptionMap<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> RegionServerSpaceQuotaManager.copyQuotaSnapshots()Copies the lastSpaceQuotaSnapshots that were recorded.Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> SpaceQuotaRefresherChore.fetchSnapshotsFromQuotaTable()Reads all quota snapshots from the quota table.Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> 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<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> QuotaTableUtil.getSnapshots(org.apache.hadoop.hbase.client.Connection conn) Fetches allSpaceQuotaSnapshotobjects from thehbase:quotatable.Map<org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> 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 org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.quotas.SpaceViolationPolicyEnforcementSpaceViolationPolicyEnforcementFactory.create(org.apache.hadoop.hbase.regionserver.RegionServerServices rss, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) Constructs the appropriateSpaceViolationPolicyEnforcementfor tables that are in violation of their space quota.org.apache.hadoop.hbase.quotas.SpaceViolationPolicyEnforcementSpaceViolationPolicyEnforcementFactory.createWithoutViolation(org.apache.hadoop.hbase.regionserver.RegionServerServices rss, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) Creates the "default"SpaceViolationPolicyEnforcementfor a table that isn't in violation.voidRegionServerSpaceQuotaManager.enforceViolationPolicy(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) Enforces the given violationPolicy on the given table in this RegionServer.voidSpaceViolationPolicyEnforcement.initialize(org.apache.hadoop.hbase.regionserver.RegionServerServices rss, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) Initializes this policy instance.voidNamespaceQuotaSnapshotStore.setCurrentState(String namespace, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) voidQuotaSnapshotStore.setCurrentState(T subject, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot state) Persists the currentSpaceQuotaSnapshotfor thesubject.voidTableQuotaSnapshotStore.setCurrentState(org.apache.hadoop.hbase.TableName table, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) static org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshotSpaceQuotaSnapshot.toProtoSnapshot(org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) voidSpaceQuotaSnapshotNotifier.transitionTable(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) Informs the cluster of the current state of a space quota for a table.voidTableSpaceQuotaSnapshotNotifier.transitionTable(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) Method parameters in org.apache.hadoop.hbase.quotas with type arguments of type org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in inModifier and TypeMethodDescriptionstatic voidQuotaTableUtil.extractQuotaSnapshot(org.apache.hadoop.hbase.client.Result result, Map<org.apache.hadoop.hbase.TableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> snapshots) Extracts theSpaceViolationPolicyandTableNamefrom the providedResultand adds them to the givenMap.voidRegionServerSpaceQuotaManager.updateQuotaSnapshot(Map<org.apache.hadoop.hbase.TableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot> newSnapshots) Updates the currentSpaceQuotaSnapshots for the RegionServer. -
Uses of org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in org.apache.hadoop.hbase.quotas.policies
Methods in org.apache.hadoop.hbase.quotas.policies that return org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in inModifier and TypeMethodDescriptionorg.apache.hadoop.hbase.quotas.SpaceQuotaSnapshotAbstractViolationPolicyEnforcement.getQuotaSnapshot()Methods in org.apache.hadoop.hbase.quotas.policies with parameters of type org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot in inModifier and TypeMethodDescriptionvoidAbstractViolationPolicyEnforcement.initialize(org.apache.hadoop.hbase.regionserver.RegionServerServices rss, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot) voidAbstractViolationPolicyEnforcement.setQuotaSnapshot(org.apache.hadoop.hbase.quotas.SpaceQuotaSnapshot snapshot)