Uses of Interface
org.apache.hadoop.hbase.quotas.OperationQuota
Package
Description
Table of Contents
-
Uses of OperationQuota in org.apache.hadoop.hbase.coprocessor
Modifier 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
Modifier and TypeClassDescriptionclass
class
(package private) class
Noop operation quota returned when no quota is associated to the user/tableModifier 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
Modifier and TypeFieldDescription(package private) final OperationQuota
RSRpcServices.RegionScannerContext.quota
Modifier 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) Modifier 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) ModifierConstructorDescription(package private)
RegionScannerContext
(String scannerName, RSRpcServices.RegionScannerHolder holder, OperationQuota quota)