Module org.eclipse.persistence.core
Class ConcurrencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.persistence.exceptions.EclipseLinkException
org.eclipse.persistence.exceptions.ConcurrencyException
- All Implemented Interfaces:
Serializable
Purpose: Concurrency deadlock or interupts will raise this exception.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConcurrencyException(String theMessage) INTERNAL: TopLink exceptions should only be thrown by TopLink.protectedConcurrencyException(String theMessage, Exception exception) INTERNAL: TopLink exceptions should only be thrown by TopLink. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConcurrencyExceptionactiveLockAlreadyTransitioned(Thread currentThread) static ConcurrencyExceptionmaxTriesLockOnBuildObjectExceded(Thread cacheKeyThread, Thread currentThread) static ConcurrencyExceptionmaxTriesLockOnCloneExceded(Object objectToClone) static ConcurrencyExceptionmaxTriesLockOnMergeExceded(Object objectToClone) static ConcurrencyExceptionsequencingMultithreadThruConnection(String accessor) static ConcurrencyExceptionstatic ConcurrencyExceptionwaitFailureOnClientSession(InterruptedException exception) static ConcurrencyExceptionstatic ConcurrencyExceptionwaitFailureOnServerSession(InterruptedException exception) static ConcurrencyExceptionwaitWasInterrupted(String message) Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
WAIT_WAS_INTERRUPTED
public static final int WAIT_WAS_INTERRUPTED- See Also:
-
WAIT_FAILURE_SERVER
public static final int WAIT_FAILURE_SERVER- See Also:
-
WAIT_FAILURE_CLIENT
public static final int WAIT_FAILURE_CLIENT- See Also:
-
SIGNAL_ATTEMPTED_BEFORE_WAIT
public static final int SIGNAL_ATTEMPTED_BEFORE_WAIT- See Also:
-
WAIT_FAILURE_SEQ_DATABASE_SESSION
public static final int WAIT_FAILURE_SEQ_DATABASE_SESSION- See Also:
-
SEQUENCING_MULTITHREAD_THRU_CONNECTION
public static final int SEQUENCING_MULTITHREAD_THRU_CONNECTION- See Also:
-
MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE- See Also:
-
MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGE
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGE- See Also:
-
MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT
public static final int MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT- See Also:
-
ACTIVE_LOCK_ALREADY_TRANSITIONED
public static final int ACTIVE_LOCK_ALREADY_TRANSITIONED- See Also:
-
-
Constructor Details
-
ConcurrencyException
INTERNAL: TopLink exceptions should only be thrown by TopLink. -
ConcurrencyException
INTERNAL: TopLink exceptions should only be thrown by TopLink.
-
-
Method Details
-
activeLockAlreadyTransitioned
-
maxTriesLockOnCloneExceded
-
maxTriesLockOnMergeExceded
-
maxTriesLockOnBuildObjectExceded
public static ConcurrencyException maxTriesLockOnBuildObjectExceded(Thread cacheKeyThread, Thread currentThread) -
signalAttemptedBeforeWait
-
waitFailureOnClientSession
-
waitFailureOnServerSession
-
waitWasInterrupted
-
waitFailureOnSequencingForDatabaseSession
public static ConcurrencyException waitFailureOnSequencingForDatabaseSession(InterruptedException exception) -
sequencingMultithreadThruConnection
-