}
}
if (_filter.isEmpty() || matches)
{ // If there's no filter enabled or the filter matches the queue name we display statistics.
QmfConsoleData lastSample = stats.getData();
stats.setData(record);
float deltaTime = record.getUpdateTime() - lastSample.getUpdateTime();
if (deltaTime > 1000000000.0f)
{
float deltaEnqueues = record.getLongValue("msgTotalEnqueues") -
lastSample.getLongValue("msgTotalEnqueues");
float deltaDequeues = record.getLongValue("msgTotalDequeues") -
lastSample.getLongValue("msgTotalDequeues");
long msgDepth = record.getLongValue("msgDepth");
float enqueueRate = deltaEnqueues/(deltaTime/1000000000.0f);
float dequeueRate = deltaDequeues/(deltaTime/1000000000.0f);
System.out.printf("%-46s%10.2f%11d%13.2f%13.2f\n",