@InterfaceAudience.Public public class RpcThrottlingException extends HBaseIOException
限定符和类型 | 类和说明 |
---|---|
static class |
RpcThrottlingException.Type |
构造器和说明 |
---|
RpcThrottlingException(RpcThrottlingException.Type type,
long waitInterval,
String msg) |
RpcThrottlingException(String msg) |
限定符和类型 | 方法和说明 |
---|---|
RpcThrottlingException.Type |
getType() |
long |
getWaitInterval() |
static void |
throwNumReadRequestsExceeded(long waitInterval) |
static void |
throwNumRequestsExceeded(long waitInterval) |
static void |
throwNumWriteRequestsExceeded(long waitInterval) |
static void |
throwReadCapacityUnitExceeded(long waitInterval) |
static void |
throwReadSizeExceeded(long waitInterval) |
static void |
throwRequestCapacityUnitExceeded(long waitInterval) |
static void |
throwRequestSizeExceeded(long waitInterval) |
static void |
throwWriteCapacityUnitExceeded(long waitInterval) |
static void |
throwWriteSizeExceeded(long waitInterval) |
public RpcThrottlingException(String msg)
public RpcThrottlingException(RpcThrottlingException.Type type, long waitInterval, String msg)
public RpcThrottlingException.Type getType()
public long getWaitInterval()
public static void throwNumRequestsExceeded(long waitInterval) throws RpcThrottlingException
public static void throwRequestSizeExceeded(long waitInterval) throws RpcThrottlingException
public static void throwNumReadRequestsExceeded(long waitInterval) throws RpcThrottlingException
public static void throwNumWriteRequestsExceeded(long waitInterval) throws RpcThrottlingException
public static void throwWriteSizeExceeded(long waitInterval) throws RpcThrottlingException
public static void throwReadSizeExceeded(long waitInterval) throws RpcThrottlingException
public static void throwRequestCapacityUnitExceeded(long waitInterval) throws RpcThrottlingException
public static void throwReadCapacityUnitExceeded(long waitInterval) throws RpcThrottlingException
public static void throwWriteCapacityUnitExceeded(long waitInterval) throws RpcThrottlingException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.