Class CircularQueueCaptureQueriesListener

  • All Implemented Interfaces:,

    public class CircularQueueCaptureQueriesListener
    extends BaseCaptureQueriesListener
    This is a query listener designed to be plugged into a proxy DataSource. This listener keeps the last 1000 queries across all threads in a CircularFifoQueue, dropping queries off the end of the list as new ones are added.

    Note that this class is really only designed for use in testing - It adds a non-trivial overhead to each query.