Uses of Interface
org.apache.hadoop.hbase.quotas.OperationQuota
Packages that use OperationQuota
Package
Description
Table of Contents
-
Uses of OperationQuota in org.apache.hadoop.hbase.coprocessor
Methods in org.apache.hadoop.hbase.coprocessor that return OperationQuotaModifier and TypeMethodDescriptionRegionCoprocessorEnvironment.checkBatchQuota
(Region region, int numWrites, int numReads) Check the quota for the current (rpc-context) user.RegionCoprocessorEnvironment.checkBatchQuota
(Region region, OperationQuota.OperationType type) Check the quota for the current (rpc-context) user.RegionCoprocessorEnvironment.checkScanQuota
(Scan scan, long maxBlockBytesScanned, long prevBlockBytesScannedDifference) Check the quota for the current (rpc-context) user. -
Uses of OperationQuota in org.apache.hadoop.hbase.quotas
Classes in org.apache.hadoop.hbase.quotas that implement OperationQuotaModifier and TypeClassDescriptionclass
class
(package private) class
Noop operation quota returned when no quota is associated to the user/tableFields in org.apache.hadoop.hbase.quotas declared as OperationQuotaMethods in org.apache.hadoop.hbase.quotas that return OperationQuotaModifier and TypeMethodDescriptionRegionServerRpcQuotaManager.checkBatchQuota
(Region region, int numWrites, int numReads) Check the quota for the current (rpc-context) user.RegionServerRpcQuotaManager.checkBatchQuota
(Region region, List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Action> actions, boolean hasCondition) RegionServerRpcQuotaManager.checkBatchQuota
(Region region, OperationQuota.OperationType type) RpcQuotaManager.checkBatchQuota
(Region region, int numWrites, int numReads) Check the quota for the current (rpc-context) user.RpcQuotaManager.checkBatchQuota
(Region region, List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Action> actions, boolean hasCondition) Check the quota for the current (rpc-context) user.RpcQuotaManager.checkBatchQuota
(Region region, OperationQuota.OperationType type) Check the quota for the current (rpc-context) user.RegionServerRpcQuotaManager.checkScanQuota
(Region region, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest scanRequest, long maxScannerResultSize, long maxBlockBytesScanned, long prevBlockBytesScannedDifference) RpcQuotaManager.checkScanQuota
(Region region, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ScanRequest scanRequest, long maxScannerResultSize, long maxBlockBytesScanned, long prevBlockBytesScannedDifference) Check the quota for the current (rpc-context) user.static OperationQuota
NoopOperationQuota.get()
RegionServerRpcQuotaManager.getQuota
(org.apache.hadoop.security.UserGroupInformation ugi, TableName table, int blockSizeBytes) Returns the quota for an operation. -
Uses of OperationQuota in org.apache.hadoop.hbase.regionserver
Fields in org.apache.hadoop.hbase.regionserver declared as OperationQuotaModifier and TypeFieldDescription(package private) final OperationQuota
RSRpcServices.RegionScannerContext.quota
Methods in org.apache.hadoop.hbase.regionserver that return OperationQuotaModifier and TypeMethodDescriptionRegionCoprocessorHost.RegionEnvironment.checkBatchQuota
(Region region, int numWrites, int numReads) RegionCoprocessorHost.RegionEnvironment.checkBatchQuota
(Region region, OperationQuota.OperationType type) RegionCoprocessorHost.RegionEnvironment.checkScanQuota
(Scan scan, long maxBlockBytesScanned, long prevBlockBytesScannedDifference) Methods in org.apache.hadoop.hbase.regionserver with parameters of type OperationQuotaModifier and TypeMethodDescriptionprivate Result
RSRpcServices.append
(HRegion region, OperationQuota quota, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto mutation, CellScanner cellScanner, long nonceGroup, ActivePolicyEnforcement spaceQuota, RpcCallContext context) Execute an append mutation.private CheckAndMutateResult
RSRpcServices.checkAndMutate
(HRegion region, OperationQuota quota, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto mutation, CellScanner cellScanner, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Condition condition, long nonceGroup, ActivePolicyEnforcement spaceQuota, RpcCallContext context) private void
RSRpcServices.delete
(HRegion region, OperationQuota quota, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto mutation, CellScanner cellScanner, ActivePolicyEnforcement spaceQuota) private void
RSRpcServices.doAtomicBatchOp
(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.RegionActionResult.Builder builder, HRegion region, OperationQuota quota, List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Action> mutations, CellScanner cells, long nonceGroup, ActivePolicyEnforcement spaceQuotaEnforcement) private void
RSRpcServices.doBatchOp
(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.RegionActionResult.Builder builder, HRegion region, OperationQuota quota, List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Action> mutations, CellScanner cells, long nonceGroup, ActivePolicyEnforcement spaceQuotaEnforcement, boolean atomic) Execute a list of mutations.private void
RSRpcServices.doNonAtomicBatchOp
(org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.RegionActionResult.Builder builder, HRegion region, OperationQuota quota, List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Action> mutations, CellScanner cells, ActivePolicyEnforcement spaceQuotaEnforcement) private List<ExtendedCellScannable>
RSRpcServices.doNonAtomicRegionMutation
(HRegion region, OperationQuota quota, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.RegionAction actions, CellScanner cellScanner, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.RegionActionResult.Builder builder, List<ExtendedCellScannable> cellsToReturn, long nonceGroup, RSRpcServices.RegionScannersCloseCallBack closeCallBack, RpcCallContext context, ActivePolicyEnforcement spaceQuotaEnforcement) Run through the regionMutationrm
and per Mutation, do the work, and then when done, add an instance of aClientProtos.ResultOrException
that corresponds to each Mutation.private Result
RSRpcServices.increment
(HRegion region, OperationQuota quota, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto mutation, CellScanner cells, long nonceGroup, ActivePolicyEnforcement spaceQuota, RpcCallContext context) Execute an increment mutation.private void
RSRpcServices.put
(HRegion region, OperationQuota quota, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MutationProto mutation, CellScanner cellScanner, ActivePolicyEnforcement spaceQuota) Constructors in org.apache.hadoop.hbase.regionserver with parameters of type OperationQuotaModifierConstructorDescription(package private)
RegionScannerContext
(String scannerName, RSRpcServices.RegionScannerHolder holder, OperationQuota quota)