public interface DequeueInterceptor
void before(Source context)
This method is called once at the beginning of any dequeue
method regardless of how many queue elements are dequeued.
context - The source from which the dequeue is performed.void after(Source context)
This method is called once at the end of any dequeue
method regardless of how many queue elements are dequeued.
context - The source from which the dequeue is performed.