Class CacheKeyToThreadRelationships
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.type.CacheKeyToThreadRelationships
-
public class CacheKeyToThreadRelationships extends Object
-
-
Constructor Summary
Constructors Constructor Description CacheKeyToThreadRelationships(ConcurrencyManager cacheKeyBeingDescribed)
Create a new CacheKeyToThreadRelationships.
-
Method Summary
-
-
-
Constructor Detail
-
CacheKeyToThreadRelationships
public CacheKeyToThreadRelationships(ConcurrencyManager cacheKeyBeingDescribed)
Create a new CacheKeyToThreadRelationships.- Parameters:
cacheKeyBeingDescribed
-
-
-
Method Detail
-
getCacheKeyBeingDescribed
public ConcurrencyManager getCacheKeyBeingDescribed()
Getter forcacheKeyBeingDescribed
-
getThreadsThatAcquiredReadLock
public List<Thread> getThreadsThatAcquiredReadLock()
Getter forthreadsThatAcquiredReadLock
-
getThreadsThatAcquiredDeferredLock
public List<Thread> getThreadsThatAcquiredDeferredLock()
Getter forthreadsThatAcquiredDeferredLock
-
getThreadsThatAcquiredActiveLock
public List<Thread> getThreadsThatAcquiredActiveLock()
Getter forthreadsThatAcquiredActiveLock
-
getThreadsKnownToBeStuckTryingToAcquireLock
public List<Thread> getThreadsKnownToBeStuckTryingToAcquireLock()
Getter forthreadsKnownToBeStuckTryingToAcquireLock
-
getThreadNamesThatAcquiredReadLock
public List<String> getThreadNamesThatAcquiredReadLock()
Getter forthreadsThatAcquiredReadLock
-
getThreadNamesThatAcquiredDeferredLock
public List<String> getThreadNamesThatAcquiredDeferredLock()
Getter forthreadsThatAcquiredDeferredLock
-
getThreadNamesThatAcquiredActiveLock
public List<String> getThreadNamesThatAcquiredActiveLock()
Getter forthreadsThatAcquiredActiveLock
-
getThreadNamesKnownToBeStuckTryingToAcquireLock
public List<String> getThreadNamesKnownToBeStuckTryingToAcquireLock()
Getter forthreadsKnownToBeStuckTryingToAcquireLock
-
mapThreadToThreadName
protected List<String> mapThreadToThreadName(List<Thread> threads)
Map a list of threads to their thread names- Parameters:
threads
- the threads to map- Returns:
- the thread names
-
addThreadsThatAcquiredReadLock
public void addThreadsThatAcquiredReadLock(Thread thread)
Setter forthreadsThatAcquiredReadLock
-
addThreadsThatAcquiredDeferredLock
public void addThreadsThatAcquiredDeferredLock(Thread thread)
Setter forthreadsThatAcquiredDeferredLock
-
addThreadsThatAcquiredActiveLock
public void addThreadsThatAcquiredActiveLock(Thread thread)
Setter forthreadsThatAcquiredActiveLock
-
addThreadsKnownToBeStuckTryingToAcquireLock
public void addThreadsKnownToBeStuckTryingToAcquireLock(Thread thread)
Setter forthreadsKnownToBeStuckTryingToAcquireLock
-
addThreadsKnownToBeStuckTryingToAcquireLockForReading
public void addThreadsKnownToBeStuckTryingToAcquireLockForReading(Thread thread)
-
getThreadNamesKnownToBeStuckTryingToAcquireLockForReading
public List<String> getThreadNamesKnownToBeStuckTryingToAcquireLockForReading()
-
-