add trace logging to cursor page in

This commit is contained in:
gtully 2014-10-09 22:16:45 +01:00
parent 62c20ebdcf
commit 0cf7c0bc47
1 changed files with 3 additions and 0 deletions

View File

@ -364,6 +364,9 @@ public abstract class AbstractStoreCursor extends AbstractPendingMessageCursor i
} }
protected final synchronized void fillBatch() { protected final synchronized void fillBatch() {
if (LOG.isTraceEnabled()) {
LOG.trace("{} fillBatch", this);
}
if (batchResetNeeded) { if (batchResetNeeded) {
resetSize(); resetSize();
setMaxBatchSize(Math.min(regionDestination.getMaxPageSize(), size)); setMaxBatchSize(Math.min(regionDestination.getMaxPageSize(), size));