Class ThreadSafeBazaar<T>

  • Type Parameters:
    T - the type of product produced by this Bazaar
    All Implemented Interfaces:
    Bazaar<T>

    public final class ThreadSafeBazaar<T>
    extends BazaarImpl<T>
    A thread-safe implementation of the Bazaar. It supports any number of threads concurrently creating products, to the exclusion of at most one thread changing the bazaar's configuration (adding/removing vendors, context functions, and so on).
    Author:
    Christian W. Damus