sink.registerPop();
    private Object dequeue ()    {        if (queue.size () < 50 && declaredFull)        {            source.removeFullChannel (this);            declaredFull = false;        }        totalItemsPopped++;        return queue.removeFirst ();    }