Uses of Class
org.eclipse.persistence.internal.helper.DeferredLockManager
Package
Description
-
Uses of DeferredLockManager in org.eclipse.persistence.internal.helper
Modifier and TypeFieldDescriptionstatic final Map
<Thread, DeferredLockManager> ConcurrencyManager.DEFERRED_LOCK_MANAGERS
Modifier and TypeMethodDescriptionConcurrencyUtil.cloneDeferredLockManager
(DeferredLockManager deferredLockManagerOriginal) Clone an originalDeferredLockManager
so that our algorithms of state dump or dead lock search can safely work ina stable model state that is not constantly changing.static DeferredLockManager
ConcurrencyManager.getDeferredLockManager
(Thread thread) Return the deferred lock manager from the threadstatic DeferredLockManager
ConcurrencyManager.removeDeferredLockManager
(Thread thread) Remove the deferred lock manager for the threadModifier and TypeMethodDescriptionConcurrencyUtil.cloneDeferredLockManagerMap
(Map<Thread, DeferredLockManager> deferredLockManagersOriginal) The exact same thing as theConcurrencyUtil.cloneReadLockManagerMap(Map)
but the map we are cloning here is the one of threads to deferred locksprotected static Map
<Thread, DeferredLockManager> ConcurrencyManager.getDeferredLockManagers()
Return the deferred lock manager hashtable (thread - DeferredLockManager).protected static Map
<Thread, DeferredLockManager> ConcurrencyManager.initializeDeferredLockManagers()
Init the deferred lock managers (thread - DeferredLockManager).Modifier and TypeMethodDescriptionConcurrencyUtil.cloneDeferredLockManager
(DeferredLockManager deferredLockManagerOriginal) Clone an originalDeferredLockManager
so that our algorithms of state dump or dead lock search can safely work ina stable model state that is not constantly changing.protected String
ConcurrencyUtil.createInformationAboutAllResourcesAcquiredAndDeferredByThread
(ReadLockManager readLockManager, DeferredLockManager lockManager, Set<ConcurrencyManager> waitingOnAcquireCacheKeys, ConcurrencyManager waitingOnAcquireReadCacheKey, boolean threadWaitingToReleaseDeferredLocks, Thread thread, int currentThreadNumber, int totalNumberOfThreads, Set<Object> writeManagerThreadPrimaryKeysWithChangesToBeMerged, String waitingToReleaseDeferredLocksJustification) Build a string that tries to describe in as much detail as possible the resources associated to the current thread.protected String
ConcurrencyUtil.currentThreadIsStuckForSomeTimeProduceTinyLogMessage
(long elapsedTime, ConcurrencyManager concurrencyManager, DeferredLockManager lockManager, ReadLockManager readLockManager) We have a thread that is not evolving for quite some while.void
ConcurrencyUtil.determineIfReleaseDeferredLockAppearsToBeDeadLocked
(ConcurrencyManager concurrencyManager, long whileStartTimeMillis, DeferredLockManager lockManager, ReadLockManager readLockManager, boolean callerIsWillingToAllowInterruptedExceptionToBeFiredUpIfNecessary) Throw an interrupted exception if appears that eclipse link code is taking too long to release a deferred lock.void
ConcurrencyManager.putDeferredLock
(Thread thread, DeferredLockManager lockManager) void
ConcurrencyManager.releaseAllLocksAcquiredByThread
(DeferredLockManager lockManager) For the thread to release all of its locks.Modifier and TypeMethodDescriptionConcurrencyUtil.cloneDeferredLockManagerMap
(Map<Thread, DeferredLockManager> deferredLockManagersOriginal) The exact same thing as theConcurrencyUtil.cloneReadLockManagerMap(Map)
but the map we are cloning here is the one of threads to deferred locksConcurrencyUtil.createConcurrencyManagerState
(Map<Thread, DeferredLockManager> deferredLockManagers, Map<Thread, ReadLockManager> readLockManagersOriginal, Map<Thread, ConcurrencyManager> mapThreadToWaitOnAcquireOriginal, Map<Thread, String> mapThreadToWaitOnAcquireMethodNameOriginal, Map<Thread, Set<ConcurrencyManager>> mapThreadToWaitOnAcquireInsideWriteLockManagerOriginal, Map<Thread, ConcurrencyManager> mapThreadToWaitOnAcquireReadLockOriginal, Map<Thread, String> mapThreadToWaitOnAcquireReadLockMethodNameOriginal, Set<Thread> setThreadWaitingToReleaseDeferredLocksOriginal, Map<Thread, String> mapThreadsThatAreCurrentlyWaitingToReleaseDeferredLocksJustificationClone, Map<Thread, Set<Object>> mapThreadToObjectIdWithWriteLockManagerChangesOriginal) create a DTO that tries to represent the current snapshot of the concurrency manager and write lock manager cache stateprotected void
ConcurrencyUtil.dumpConcurrencyManagerInformationStep01
(Map<Thread, DeferredLockManager> deferredLockManagers, Map<Thread, ReadLockManager> readLockManagersOriginal, Map<Thread, ConcurrencyManager> mapThreadToWaitOnAcquireOriginal, Map<Thread, String> mapThreadToWaitOnAcquireMethodNameOriginal, Map<Thread, Set<ConcurrencyManager>> mapThreadToWaitOnAcquireInsideWriteLockManagerOriginal, Map<Thread, ConcurrencyManager> mapThreadToWaitOnAcquireReadLockOriginal, Map<Thread, String> mapThreadToWaitOnAcquireReadLockMethodNameOriginal, Set<Thread> setThreadWaitingToReleaseDeferredLocksOriginal, Map<Thread, String> mapThreadsThatAreCurrentlyWaitingToReleaseDeferredLocksJustificationClone, Map<Thread, Set<Object>> mapThreadToObjectIdWithWriteLockManagerChangesOriginal) The current working thread is having problems. -
Uses of DeferredLockManager in org.eclipse.persistence.internal.helper.type
Modifier and TypeMethodDescriptionConcurrencyManagerState.getDeferredLockManagerMapClone()
Getter forConcurrencyManagerState.deferredLockManagerMapClone