Class WaitableRef

All Implemented Interfaces:
Executor

public class WaitableRef extends SynchronizedRef
A class useful for offloading synch for Object reference instance variables.

[ Introduction to this package. ]

  • Constructor Details

    • WaitableRef

      public WaitableRef(Object initialValue)
      Create a WaitableRef initially holding the given reference and using its own internal lock.
    • WaitableRef

      public WaitableRef(Object initialValue, Object lock)
      Make a new WaitableRef with the given initial value, and using the supplied lock.
  • Method Details