Module 

Class AbstractSynchronizedConduit<D extends Conduit>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object lock  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • lock

        protected final java.lang.Object lock
    • Constructor Detail

      • AbstractSynchronizedConduit

        protected AbstractSynchronizedConduit​(D next)
        Construct a new instance. A new lock object is created.
        Parameters:
        next - the next conduit in the chain
      • AbstractSynchronizedConduit

        protected AbstractSynchronizedConduit​(D next,
                                              java.lang.Object lock)
        Construct a new instance.
        Parameters:
        next - the next conduit in the chain
        lock - the lock object to use