net.sf.ehcache.concurrent.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.
| Access | Constructor and Description |
|---|---|
| public | |
| public | LockTimeoutException(String
the detail message. The detail message is saved for
later retrieval by the message)getMessage() method.Constructs a new runtime exception with the specified detail message. |
| public | LockTimeoutException(String
the exception detail message message, Throwable the cause of the exception cause)Constructor for the LockTimeoutException object. |
| LockTimeoutException | back to summary |
|---|---|
| public LockTimeoutException() Constructs a new runtime exception with | |
| LockTimeoutException | back to summary |
|---|---|
| public LockTimeoutException(String message) Constructs a new runtime exception with the specified detail message.
The cause is not initialized, and may subsequently be initialized by a
call to
| |
| LockTimeoutException | back to summary |
|---|---|
| public LockTimeoutException(String message, Throwable cause) Constructor for the LockTimeoutException object. | |