Class CycleDetectingLockFactory.PotentialDeadlockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
com.google.common.util.concurrent.CycleDetectingLockFactory.PotentialDeadlockException
- All Implemented Interfaces:
Serializable
- Enclosing class:
CycleDetectingLockFactory
@Beta
@Deprecated(since="2022-12-01")
public static final class CycleDetectingLockFactory.PotentialDeadlockException
extends IllegalStateException
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
Represents a detected cycle in lock acquisition ordering. The exception
includes a causal chain of
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
.
- Since:
- 13.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.CycleDetectingLockFactory.ExampleStackTrace
Deprecated.Deprecated.Appends the chain of messages from theconflictingStackTrace
to the originalmessage
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getConflictingStackTrace
public com.google.common.util.concurrent.CycleDetectingLockFactory.ExampleStackTrace getConflictingStackTrace()Deprecated. -
getMessage
Deprecated.Appends the chain of messages from theconflictingStackTrace
to the originalmessage
.- Overrides:
getMessage
in classThrowable
-