Package | Description |
---|---|
org.apache.hadoop.hbase.quotas |
Modifier and Type | Method and Description |
---|---|
void |
OperationQuota.checkQuota(int numWrites,
int numReads,
int numScans)
Checks if it is possible to execute the specified operation.
|
void |
NoopOperationQuota.checkQuota(int numWrites,
int numReads,
int numScans) |
void |
ExceedOperationQuota.checkQuota(int numWrites,
int numReads,
int numScans) |
void |
DefaultOperationQuota.checkQuota(int numWrites,
int numReads,
int numScans) |
void |
QuotaLimiter.checkQuota(long writeReqs,
long estimateWriteSize,
long readReqs,
long estimateReadSize,
long estimateWriteCapacityUnit,
long estimateReadCapacityUnit)
Checks if it is possible to execute the specified operation.
|
void |
NoopQuotaLimiter.checkQuota(long writeReqs,
long estimateWriteSize,
long readReqs,
long estimateReadSize,
long estimateWriteCapacityUnit,
long estimateReadCapacityUnit) |
void |
TimeBasedLimiter.checkQuota(long writeReqs,
long estimateWriteSize,
long readReqs,
long estimateReadSize,
long estimateWriteCapacityUnit,
long estimateReadCapacityUnit) |
private OperationQuota |
RegionServerRpcQuotaManager.checkQuota(Region region,
int numWrites,
int numReads,
int numScans)
Check the quota for the current (rpc-context) user.
|
OperationQuota |
RegionServerRpcQuotaManager.checkQuota(Region region,
List<org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.Action> actions)
Check the quota for the current (rpc-context) user.
|
OperationQuota |
RegionServerRpcQuotaManager.checkQuota(Region region,
OperationQuota.OperationType type)
Check the quota for the current (rpc-context) user.
|
static void |
RpcThrottlingException.throwNumReadRequestsExceeded(long waitInterval) |
static void |
RpcThrottlingException.throwNumRequestsExceeded(long waitInterval) |
static void |
RpcThrottlingException.throwNumWriteRequestsExceeded(long waitInterval) |
static void |
RpcThrottlingException.throwReadCapacityUnitExceeded(long waitInterval) |
static void |
RpcThrottlingException.throwReadSizeExceeded(long waitInterval) |
static void |
RpcThrottlingException.throwRequestCapacityUnitExceeded(long waitInterval) |
static void |
RpcThrottlingException.throwRequestSizeExceeded(long waitInterval) |
private static void |
RpcThrottlingException.throwThrottlingException(RpcThrottlingException.Type type,
long waitInterval) |
static void |
RpcThrottlingException.throwWriteCapacityUnitExceeded(long waitInterval) |
static void |
RpcThrottlingException.throwWriteSizeExceeded(long waitInterval) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.