@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 and 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
Copyright © 2010–2021 JBoss by Red Hat. All rights reserved.