voldemort.store.quota
Class QuotaExceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by voldemort.VoldemortException
                  extended by voldemort.VoldemortApplicationException
                      extended by 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

Constructor Summary
QuotaExceededException(java.lang.String message)
           
QuotaExceededException(java.lang.String message, java.lang.Exception cause)
           
 
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
 

Constructor Detail

QuotaExceededException

public QuotaExceededException(java.lang.String message)

QuotaExceededException

public QuotaExceededException(java.lang.String message,
                              java.lang.Exception cause)
Method Detail

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