Class RunnableQueue.LockableLink

Enclosing class:
RunnableQueue

protected static class RunnableQueue.LockableLink extends RunnableQueue.Link
To store a Runnable with an object waiting for him to be executed.
  • Field Details

    • locked

      private volatile boolean locked
      Whether this link is actually locked.
  • Constructor Details

    • LockableLink

      public LockableLink(Runnable r)
      Creates a new link.
  • Method Details