jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1186664 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats: PersistenceManagerStatCore.java PersistenceManagerStatImpl.java
Date Thu, 20 Oct 2011 08:16:07 GMT
Author: alexparvulescu
Date: Thu Oct 20 08:16:06 2011
New Revision: 1186664

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

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatCore.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatCore.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatCore.java?rev=1186664&r1=1186663&r2=1186664&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatCore.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatCore.java
Thu Oct 20 08:16:06 2011
@@ -18,6 +18,11 @@ package org.apache.jackrabbit.core.stats
 
 import org.apache.jackrabbit.api.stats.PersistenceManagerStat;
 
+/**
+ * Extends external facing {@link PersistenceManagerStat} with some internal
+ * operations
+ * 
+ */
 public interface PersistenceManagerStatCore extends PersistenceManagerStat {
 
     /**
@@ -32,6 +37,12 @@ public interface PersistenceManagerStatC
      */
     void onBundleWrite(long durationMs);
 
+    /**
+     * Called whenever the cache access count reaches a certain threshold.
+     * 
+     * @param accessCount
+     *            number of access times since last call
+     */
     void cacheAccessed(long accessCount);
 
 }

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatImpl.java?rev=1186664&r1=1186663&r2=1186664&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/stats/PersistenceManagerStatImpl.java
Thu Oct 20 08:16:06 2011
@@ -21,7 +21,7 @@ import java.util.concurrent.atomic.Atomi
 import org.apache.jackrabbit.core.stats.util.CachingOpsPerSecondDto;
 
 /**
- * Default PersistenceManagerStat impl
+ * Default {@link PersistenceManagerStatCore} impl
  * 
  */
 public class PersistenceManagerStatImpl implements PersistenceManagerStatCore {



Mime
View raw message