@InterfaceAudience.Public public class RpcThrottlingException extends HBaseIOException
Modifier and Type | Class and Description |
---|---|
static class |
RpcThrottlingException.Type |
Constructor and Description |
---|
RpcThrottlingException(RpcThrottlingException.Type type,
long waitInterval,
String msg) |
RpcThrottlingException(String msg) |
Modifier and Type | Method and Description |
---|---|
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) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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
RpcThrottlingException
public static void throwRequestSizeExceeded(long waitInterval) throws RpcThrottlingException
RpcThrottlingException
public static void throwNumReadRequestsExceeded(long waitInterval) throws RpcThrottlingException
RpcThrottlingException
public static void throwNumWriteRequestsExceeded(long waitInterval) throws RpcThrottlingException
RpcThrottlingException
public static void throwWriteSizeExceeded(long waitInterval) throws RpcThrottlingException
RpcThrottlingException
public static void throwReadSizeExceeded(long waitInterval) throws RpcThrottlingException
RpcThrottlingException
public static void throwRequestCapacityUnitExceeded(long waitInterval) throws RpcThrottlingException
RpcThrottlingException
public static void throwReadCapacityUnitExceeded(long waitInterval) throws RpcThrottlingException
RpcThrottlingException
public static void throwWriteCapacityUnitExceeded(long waitInterval) throws RpcThrottlingException
RpcThrottlingException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.