Class FederationThrottleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.athena.connector.lambda.exceptions.FederationThrottleException
-
- All Implemented Interfaces:
Serializable
public class FederationThrottleException extends RuntimeException
Throw this exception if your source is unable to keep up with the rate or concurrency of requests. Athena constantly monitors for performance of federated sources and employs a congestion control mechanism to reduce pressure on sources that may be overwhelmed or unable to keep up. Throwing this exception gives Athena important back pressure information. Alternatively you can reduce the concurrency of the affected Lambda function in the Lambda console which will cause Lambda to generate Throttle exceptions for Athena.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FederationThrottleException()
FederationThrottleException(String message)
FederationThrottleException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-