RpcThrottlingException
since hbase-2.0.0.@Deprecated @InterfaceAudience.Public public class ThrottlingException extends QuotaExceededException
限定符和类型 | 类和说明 |
---|---|
static class |
ThrottlingException.Type
已过时。
|
构造器和说明 |
---|
ThrottlingException(String msg)
已过时。
|
ThrottlingException(ThrottlingException.Type type,
long waitInterval,
String msg)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
static String |
formatTime(long timeDiff)
已过时。
|
ThrottlingException.Type |
getType()
已过时。
|
long |
getWaitInterval()
已过时。
|
static void |
throwNumReadRequestsExceeded(long waitInterval)
已过时。
|
static void |
throwNumRequestsExceeded(long waitInterval)
已过时。
|
static void |
throwNumWriteRequestsExceeded(long waitInterval)
已过时。
|
static void |
throwReadSizeExceeded(long waitInterval)
已过时。
|
static void |
throwRequestSizeExceeded(long waitInterval)
已过时。
|
static void |
throwWriteSizeExceeded(long waitInterval)
已过时。
|
public ThrottlingException(String msg)
public ThrottlingException(ThrottlingException.Type type, long waitInterval, String msg)
public ThrottlingException.Type getType()
public long getWaitInterval()
public static void throwNumRequestsExceeded(long waitInterval) throws ThrottlingException
public static void throwRequestSizeExceeded(long waitInterval) throws ThrottlingException
public static void throwNumReadRequestsExceeded(long waitInterval) throws ThrottlingException
public static void throwNumWriteRequestsExceeded(long waitInterval) throws ThrottlingException
public static void throwWriteSizeExceeded(long waitInterval) throws ThrottlingException
public static void throwReadSizeExceeded(long waitInterval) throws ThrottlingException
public static String formatTime(long timeDiff)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.