java.io.Serializable@Beta public static final class CycleDetectingLockFactory.PotentialDeadlockException extends java.lang.IllegalStateException
ExampleStackTrace instances to illustrate the cycle, e.g.
com....PotentialDeadlockException: Potential Deadlock from LockC -> ReadWriteA at ... at ... Caused by: com...ExampleStackTrace: LockB -> LockC at ... at ... Caused by: com...ExampleStackTrace: ReadWriteA -> LockB at ... at ...
Instances are logged for the Policies.WARN, and thrown for Policies.THROW.
| Modifier and Type | Method | Description |
|---|---|---|
com.google.common.util.concurrent.CycleDetectingLockFactory.ExampleStackTrace |
getConflictingStackTrace() |
|
java.lang.String |
getMessage() |
Appends the chain of messages from the
conflictingStackTrace to the original
message. |
public com.google.common.util.concurrent.CycleDetectingLockFactory.ExampleStackTrace getConflictingStackTrace()
public java.lang.String getMessage()
conflictingStackTrace to the original
message.getMessage in class java.lang.Throwable