Class BoundedBuffer<T>

java.lang.Object
com.complexible.common.collect.BoundedBuffer<T>

public class BoundedBuffer<T> extends Object
Adapted from the example in Java Concurrency in Practice to add new methods like pause, resume, size, and uninterruptibles.
Author:
Brian Goetz and Tim Peierls, Evren Sirin
  • Field Details

    • lock

      protected final Lock lock
  • Constructor Details

    • BoundedBuffer

      public BoundedBuffer(int size)
  • Method Details