Package org.apache.hadoop.hbase.quotas
Class ThrottlingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.DoNotRetryIOException
org.apache.hadoop.hbase.quotas.QuotaExceededException
org.apache.hadoop.hbase.quotas.ThrottlingException
- All Implemented Interfaces:
Serializable
Deprecated.
Describe the throttling result. TODO: At some point this will be handled on the client side to
prevent operation to go on the server if the waitInterval is grater than the one got as result of
this exception.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String[]Deprecated.private static final StringDeprecated.private static final longDeprecated.private ThrottlingException.TypeDeprecated.private longDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ThrottlingException(ThrottlingException.Type type, long waitInterval, String msg) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatTime(long timeDiff) Deprecated.getType()Deprecated.longDeprecated.static voidthrowNumReadRequestsExceeded(long waitInterval) Deprecated.static voidthrowNumRequestsExceeded(long waitInterval) Deprecated.static voidthrowNumWriteRequestsExceeded(long waitInterval) Deprecated.static voidthrowReadSizeExceeded(long waitInterval) Deprecated.static voidthrowRequestSizeExceeded(long waitInterval) Deprecated.private static voidthrowThrottlingException(ThrottlingException.Type type, long waitInterval) Deprecated.static voidthrowWriteSizeExceeded(long waitInterval) Deprecated.private static longtimeFromString(String timeDiff) Deprecated.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
Deprecated.- See Also:
-
MSG_TYPE
Deprecated. -
MSG_WAIT
Deprecated.- See Also:
-
waitInterval
Deprecated. -
type
Deprecated.
-
-
Constructor Details
-
ThrottlingException
Deprecated. -
ThrottlingException
Deprecated.
-
-
Method Details
-
getType
Deprecated. -
getWaitInterval
Deprecated. -
throwNumRequestsExceeded
Deprecated.- Throws:
ThrottlingException
-
throwRequestSizeExceeded
Deprecated.- Throws:
ThrottlingException
-
throwNumReadRequestsExceeded
Deprecated.- Throws:
ThrottlingException
-
throwNumWriteRequestsExceeded
Deprecated.- Throws:
ThrottlingException
-
throwWriteSizeExceeded
Deprecated.- Throws:
ThrottlingException
-
throwReadSizeExceeded
Deprecated.- Throws:
ThrottlingException
-
throwThrottlingException
private static void throwThrottlingException(ThrottlingException.Type type, long waitInterval) throws ThrottlingException Deprecated.- Throws:
ThrottlingException
-
formatTime
Deprecated. -
timeFromString
Deprecated.
-
RpcThrottlingExceptionsince hbase-2.0.0.