You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2014/10/09 23:17:28 UTC
git commit: add trace logging to cursor page in
Repository: activemq
Updated Branches:
refs/heads/trunk 62c20ebdc -> 0cf7c0bc4
add trace logging to cursor page in
Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/0cf7c0bc
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/0cf7c0bc
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/0cf7c0bc
Branch: refs/heads/trunk
Commit: 0cf7c0bc4709a68cd7dbc972d5ba55863053c601
Parents: 62c20eb
Author: gtully <ga...@gmail.com>
Authored: Thu Oct 9 22:16:45 2014 +0100
Committer: gtully <ga...@gmail.com>
Committed: Thu Oct 9 22:16:54 2014 +0100
----------------------------------------------------------------------
.../activemq/broker/region/cursors/AbstractStoreCursor.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq/blob/0cf7c0bc/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java
----------------------------------------------------------------------
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java b/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java
index c08b293..19864b7 100644
--- a/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java
+++ b/activemq-broker/src/main/java/org/apache/activemq/broker/region/cursors/AbstractStoreCursor.java
@@ -364,6 +364,9 @@ public abstract class AbstractStoreCursor extends AbstractPendingMessageCursor i
}
protected final synchronized void fillBatch() {
+ if (LOG.isTraceEnabled()) {
+ LOG.trace("{} fillBatch", this);
+ }
if (batchResetNeeded) {
resetSize();
setMaxBatchSize(Math.min(regionDestination.getMaxPageSize(), size));