Class PersistDeadlockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jetbrains.buildServer.serverSide.impl.persisting.PersistDeadlockException
-
- All Implemented Interfaces:
Serializable
public final class PersistDeadlockException extends RuntimeException
This exception can be thrown if we suspect a deadlock when awaiting aPersistTask
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PersistDeadlockException
onNestedTaskTaskDeadlock(PersistTaskEx awaitingTask)
static PersistDeadlockException
onThreadIsNotMovingDeadlock(PersistTaskEx awaitingTask, Queue<PersistTaskEx> currentThreadTasks, PersisterOptions options)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
onThreadIsNotMovingDeadlock
@NotNull public static PersistDeadlockException onThreadIsNotMovingDeadlock(@NotNull PersistTaskEx awaitingTask, @NotNull Queue<PersistTaskEx> currentThreadTasks, @NotNull PersisterOptions options)
-
onNestedTaskTaskDeadlock
@NotNull public static PersistDeadlockException onNestedTaskTaskDeadlock(@NotNull PersistTaskEx awaitingTask)
-
-