Package tenapull.sync

Class InstancesTracker.CreateLockException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tenapull.sync.InstancesTracker.InstancesTrackerException
tenapull.sync.InstancesTracker.CreateLockException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
InstancesTracker<K,​I>

public static class InstancesTracker.CreateLockException
extends InstancesTracker.InstancesTrackerException
Thrown when a construct-lambda holding a create lock tries to obtain another create lock. This can lead to deadlock, and so is checked and prevented
See Also:
Serialized Form
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object getKey()
    Gets key.
    java.lang.Thread getThread()
    Gets thread.

    Methods inherited from class tenapull.sync.InstancesTracker.InstancesTrackerException

    getTracker

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • getThread

      public java.lang.Thread getThread()
      Gets thread.
      Returns:
      the thread
    • getKey

      public java.lang.Object getKey()
      Gets key.
      Returns:
      the key