Package | Description |
---|---|
org.apache.hadoop.hbase.quotas | |
org.apache.hadoop.hbase.regionserver |
Modifier and Type | Class and Description |
---|---|
class |
DefaultOperationQuota |
(package private) class |
NoopOperationQuota
Noop operation quota returned when no quota is associated to the user/table
|
Modifier and Type | Field and Description |
---|---|
private static OperationQuota |
NoopOperationQuota.instance |
Modifier and Type | Method and Description |
---|---|
private OperationQuota |
RegionServerQuotaManager.checkQuota(Region region,
int numWrites,
int numReads,
int numScans)
Check the quota for the current (rpc-context) user.
|
OperationQuota |
RegionServerQuotaManager.checkQuota(Region region,
List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action> actions)
Check the quota for the current (rpc-context) user.
|
OperationQuota |
RegionServerQuotaManager.checkQuota(Region region,
OperationQuota.OperationType type)
Check the quota for the current (rpc-context) user.
|
static OperationQuota |
NoopOperationQuota.get() |
OperationQuota |
RegionServerQuotaManager.getQuota(org.apache.hadoop.security.UserGroupInformation ugi,
TableName table)
Returns the quota for an operation.
|
Modifier and Type | Method and Description |
---|---|
private Result |
RSRpcServices.append(Region region,
OperationQuota quota,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto m,
CellScanner cellScanner,
long nonceGroup)
Execute an append mutation.
|
private void |
RSRpcServices.doBatchOp(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder builder,
Region region,
OperationQuota quota,
List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action> mutations,
CellScanner cells)
Execute a list of Put/Delete mutations.
|
private List<CellScannable> |
RSRpcServices.doNonAtomicRegionMutation(Region region,
OperationQuota quota,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction actions,
CellScanner cellScanner,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder builder,
List<CellScannable> cellsToReturn,
long nonceGroup)
Run through the regionMutation
rm and per Mutation, do the work, and then when
done, add an instance of a ClientProtos.ResultOrException that corresponds to each Mutation. |
private Result |
RSRpcServices.increment(Region region,
OperationQuota quota,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto mutation,
CellScanner cells,
long nonceGroup)
Execute an increment mutation.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.