Class MessageConsumer.Closer

  • Enclosing class:
    MessageConsumer

    class MessageConsumer.Closer
    extends Object
    This class synchronizes the close. Close can't be synchronized with 'this' concurrently during its closure. So we need a second lock.