voldemort.store.quota
Class QuotaExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
voldemort.VoldemortException
voldemort.VoldemortApplicationException
voldemort.store.quota.QuotaExceededException
- All Implemented Interfaces:
- java.io.Serializable
public class QuotaExceededException
- extends VoldemortApplicationException
An exception that indicates that user has exceeded the throughput for Quota
allowed. The throughput is configurable per store per operation.
This extends VoldemortApplicationException due to its critical nature. In
most situations the request is dropped and operations is failed when it
exceeds Quota. Except, when a Serial Put to master succeeds and parallel puts
fail due to exceeding quota, slops are registered.
- See Also:
- Serialized Form
Method Summary |
java.lang.Throwable |
fillInStackTrace()
Override to avoid the overhead of stack trace. |
Methods inherited from class java.lang.Throwable |
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QuotaExceededException
public QuotaExceededException(java.lang.String message)
QuotaExceededException
public QuotaExceededException(java.lang.String message,
java.lang.Exception cause)
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Override to avoid the overhead of stack trace. These are thrown only from
QuotaLimitingStore on exceeding the Quota.
- Overrides:
fillInStackTrace
in class java.lang.Throwable
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu