Class CacheKeyToThreadRelationships

java.lang.Object
org.eclipse.persistence.internal.helper.type.CacheKeyToThreadRelationships

public class CacheKeyToThreadRelationships extends Object
  • Constructor Details

    • CacheKeyToThreadRelationships

      public CacheKeyToThreadRelationships(ConcurrencyManager cacheKeyBeingDescribed)
      Create a new CacheKeyToThreadRelationships.
  • Method Details

    • getCacheKeyBeingDescribed

      public ConcurrencyManager getCacheKeyBeingDescribed()
      Getter for cacheKeyBeingDescribed
    • getThreadsThatAcquiredReadLock

      public List<Thread> getThreadsThatAcquiredReadLock()
      Getter for threadsThatAcquiredReadLock
    • getThreadsThatAcquiredDeferredLock

      public List<Thread> getThreadsThatAcquiredDeferredLock()
      Getter for threadsThatAcquiredDeferredLock
    • getThreadsThatAcquiredActiveLock

      public List<Thread> getThreadsThatAcquiredActiveLock()
      Getter for threadsThatAcquiredActiveLock
    • getThreadsKnownToBeStuckTryingToAcquireLock

      public List<Thread> getThreadsKnownToBeStuckTryingToAcquireLock()
      Getter for threadsKnownToBeStuckTryingToAcquireLock
    • getThreadNamesThatAcquiredReadLock

      public List<String> getThreadNamesThatAcquiredReadLock()
      Getter for threadsThatAcquiredReadLock
    • getThreadNamesThatAcquiredDeferredLock

      public List<String> getThreadNamesThatAcquiredDeferredLock()
      Getter for threadsThatAcquiredDeferredLock
    • getThreadNamesThatAcquiredActiveLock

      public List<String> getThreadNamesThatAcquiredActiveLock()
      Getter for threadsThatAcquiredActiveLock
    • getThreadNamesKnownToBeStuckTryingToAcquireLock

      public List<String> getThreadNamesKnownToBeStuckTryingToAcquireLock()
      Getter for threadsKnownToBeStuckTryingToAcquireLock
    • 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 for threadsThatAcquiredReadLock
    • addThreadsThatAcquiredDeferredLock

      public void addThreadsThatAcquiredDeferredLock(Thread thread)
      Setter for threadsThatAcquiredDeferredLock
    • addThreadsThatAcquiredActiveLock

      public void addThreadsThatAcquiredActiveLock(Thread thread)
      Setter for threadsThatAcquiredActiveLock
    • addThreadsKnownToBeStuckTryingToAcquireLock

      public void addThreadsKnownToBeStuckTryingToAcquireLock(Thread thread)
      Setter for threadsKnownToBeStuckTryingToAcquireLock
    • addThreadsKnownToBeStuckTryingToAcquireLockForReading

      public void addThreadsKnownToBeStuckTryingToAcquireLockForReading(Thread thread)
      Setter for threadsKnownToBeStuckTryingToAcquireLockForReading
    • getThreadNamesKnownToBeStuckTryingToAcquireLockForReading

      public List<String> getThreadNamesKnownToBeStuckTryingToAcquireLockForReading()
      Getter for threadsKnownToBeStuckTryingToAcquireLockForReading
    • getThreadsKnownToBeStuckTryingToAcquireLockForReading

      public List<Thread> getThreadsKnownToBeStuckTryingToAcquireLockForReading()
      Getter for threadsKnownToBeStuckTryingToAcquireLockForReading