public class LockTimeoutException extends CacheException
ReadWriteLockSync.tryLock(net.sf.ehcache.concurrent.LockType, long)
This is a normal runtime exception which should be handled by calling code.
It is possible that simply reattempting to obtain the lock may succeed.
Timeouts are often caused by overloaded resources.
The frequency of these Exceptions may be reduced by increasing the timeout
if appropriate.Constructor and Description |
---|
LockTimeoutException()
Constructs a new runtime exception with
null as its
detail message. |
LockTimeoutException(String message)
Constructs a new runtime exception with the specified detail message.
|
LockTimeoutException(String message,
Throwable cause)
Constructor for the LockTimeoutException object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LockTimeoutException()
null
as its
detail message. The cause is not initialized, and may subsequently be
initialized by a call to Throwable.initCause(java.lang.Throwable)
.public LockTimeoutException(String message)
Throwable.initCause(java.lang.Throwable)
.message
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.