Class CacheExhaustedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.cojen.tupl.DatabaseException
org.cojen.tupl.CacheExhaustedException
- All Implemented Interfaces:
Serializable
Thrown when the database cache is full and no more data can be loaded into
it. Can be caused by too many active cursors, transactions or open indexes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns false if database should be closed as a result of this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CacheExhaustedException
public CacheExhaustedException() -
CacheExhaustedException
-
-
Method Details
-
isRecoverable
public boolean isRecoverable()Description copied from class:DatabaseException
Returns false if database should be closed as a result of this exception.- Overrides:
isRecoverable
in classDatabaseException
-