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

public class DeadLockComponent extends Object
  • Constructor Details

    • DeadLockComponent

      public DeadLockComponent(Thread threadNotAbleToAccessResource, boolean stuckOnReleaseDeferredLock, boolean stuckThreadAcquiringLockForWriting, boolean stuckThreadAcquiringLockForReading, ConcurrencyManager cacheKeyThreadWantsToAcquireButCannotGet, boolean deadLockPotentiallyCausedByCacheKeyWithCorruptedActiveThread, boolean deadLockPotentiallyCausedByCacheKeyWithCorruptedNumberOfReaders, DeadLockComponent nextThreadPartOfDeadLock)
      Create a new DeadLockComponent.
    • DeadLockComponent

      public DeadLockComponent(Thread threadNotAbleToAccessResource)
      Constructor to be used when we start undoing our recursion due to having found a repeated thread that allows to conclude we have discovered our dead lock. When we do this, we will not populate any additionla data on the DTO. Create a new DeadLockComponent.
  • Method Details

    • getThreadNotAbleToAccessResource

      public Thread getThreadNotAbleToAccessResource()
      Getter for threadNotAbleToAccessResource
    • setThreadNotAbleToAccessResource

      public void setThreadNotAbleToAccessResource(Thread threadNotAbleToAccessResource)
      Setter for threadNotAbleToAccessResource
    • isStuckOnReleaseDeferredLock

      public boolean isStuckOnReleaseDeferredLock()
      Getter for stuckOnReleaseDeferredLock
    • setStuckOnReleaseDeferredLock

      public void setStuckOnReleaseDeferredLock(boolean stuckOnReleaseDeferredLock)
      Setter for stuckOnReleaseDeferredLock
    • isStuckThreadAcquiringLockForWriting

      public boolean isStuckThreadAcquiringLockForWriting()
      Getter for stuckThreadAcquiringLockForWriting
    • setStuckThreadAcquiringLockForWriting

      public void setStuckThreadAcquiringLockForWriting(boolean stuckThreadAcquiringLockForWriting)
      Setter for stuckThreadAcquiringLockForWriting
    • isStuckThreadAcquiringLockForReading

      public boolean isStuckThreadAcquiringLockForReading()
      Getter for stuckThreadAcquiringLockForReading
    • setStuckThreadAcquiringLockForReading

      public void setStuckThreadAcquiringLockForReading(boolean stuckThreadAcquiringLockForReading)
      Setter for stuckThreadAcquiringLockForReading
    • getCacheKeyThreadWantsToAcquireButCannotGet

      public ConcurrencyManager getCacheKeyThreadWantsToAcquireButCannotGet()
      Getter for cacheKeyThreadWantsToAcquireButCannotGet
    • setCacheKeyThreadWantsToAcquireButCannotGet

      public void setCacheKeyThreadWantsToAcquireButCannotGet(ConcurrencyManager cacheKeyThreadWantsToAcquireButCannotGet)
      Setter for cacheKeyThreadWantsToAcquireButCannotGet
    • isDeadLockPotentiallyCausedByCacheKeyWithCorruptedActiveThread

      public boolean isDeadLockPotentiallyCausedByCacheKeyWithCorruptedActiveThread()
      Getter for deadLockPotentiallyCausedByCacheKeyWithCorruptedActiveThread
    • setDeadLockPotentiallyCausedByCacheKeyWithCorruptedActiveThread

      public void setDeadLockPotentiallyCausedByCacheKeyWithCorruptedActiveThread(boolean deadLockPotentiallyCausedByCacheKeyWithCorruptedActiveThread)
      Setter for deadLockPotentiallyCausedByCacheKeyWithCorruptedActiveThread
    • isDeadLockPotentiallyCausedByCacheKeyWithCorruptedNumberOfReaders

      public boolean isDeadLockPotentiallyCausedByCacheKeyWithCorruptedNumberOfReaders()
      Getter for deadLockPotentiallyCausedByCacheKeyWithCorruptedNumberOfReaders
    • setDeadLockPotentiallyCausedByCacheKeyWithCorruptedNumberOfReaders

      public void setDeadLockPotentiallyCausedByCacheKeyWithCorruptedNumberOfReaders(boolean deadLockPotentiallyCausedByCacheKeyWithCorruptedNumberOfReaders)
      Setter for deadLockPotentiallyCausedByCacheKeyWithCorruptedNumberOfReaders
    • getNextThreadPartOfDeadLock

      public DeadLockComponent getNextThreadPartOfDeadLock()
      Getter for nextThreadPartOfDeadLock
    • setNextThreadPartOfDeadLock

      public void setNextThreadPartOfDeadLock(DeadLockComponent nextThreadPartOfDeadLock)
      Setter for nextThreadPartOfDeadLock
    • isFirstRepeatingThreadThatExplainsDeadLock

      public boolean isFirstRepeatingThreadThatExplainsDeadLock()
      Getter for isFirstRepeatingThreadThatExplainsDeadLock
    • setFirstRepeatingThreadThatExplainsDeadLock

      public void setFirstRepeatingThreadThatExplainsDeadLock(boolean isFirstRepeatingThreadThatExplainsDeadLock)
      Setter for isFirstRepeatingThreadThatExplainsDeadLock
    • toString

      public String toString()
      Overrides:
      toString in class Object