jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1186716 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java
Date Thu, 20 Oct 2011 10:23:32 GMT
Author: jukka
Date: Thu Oct 20 10:23:32 2011
New Revision: 1186716

URL: http://svn.apache.org/viewvc?rev=1186716&view=rev
Log:
JCR-3117: Stats for the PersistenceManager

Restore debug log messages

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java?rev=1186716&r1=1186715&r2=1186716&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java
Thu Oct 20 10:23:32 2011
@@ -717,6 +717,7 @@ public abstract class AbstractBundlePers
     private NodePropBundle getBundleCacheMiss(NodeId id)
             throws ItemStateException {
         long time = System.nanoTime();
+        log.debug("Loading bundle {}", id);
         NodePropBundle bundle = loadBundle(id);
         readDuration.addAndGet(System.nanoTime() - time);
         readCounter.incrementAndGet();
@@ -750,6 +751,7 @@ public abstract class AbstractBundlePers
      */
     private void putBundle(NodePropBundle bundle) throws ItemStateException {
         long time = System.nanoTime();
+        log.debug("Storing bundle {}", bundle.getId());
         storeBundle(bundle);
         writeDuration.addAndGet(System.nanoTime() - time);
         writeCounter.incrementAndGet();



Mime
View raw message