Class DbMaxReadersExceededException

  • All Implemented Interfaces:

    public class DbMaxReadersExceededException
    extends DbException
    Thrown when the maximum of readers (read transactions) was exceeded. Verify that you run a reasonable amount of threads only.

    If you intend to work with a very high number of threads (>100), consider increasing the number of maximum readers using BoxStoreBuilder.maxReaders(int) and enabling query retries using BoxStoreBuilder.queryAttempts(int).

    For debugging issues related to this exception, check BoxStore.diagnose().

    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DbMaxReadersExceededException

        public DbMaxReadersExceededException​(java.lang.String message)
      • DbMaxReadersExceededException

        public DbMaxReadersExceededException​(java.lang.String message,
                                             int errorCode)