You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2011/01/03 19:38:17 UTC
svn commit: r1054703 -
/commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/WaiterFactory.java
Author: psteitz
Date: Mon Jan 3 18:38:16 2011
New Revision: 1054703
URL: http://svn.apache.org/viewvc?rev=1054703&view=rev
Log:
Javadoc.
Modified:
commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/WaiterFactory.java
Modified: commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/WaiterFactory.java
URL: http://svn.apache.org/viewvc/commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/WaiterFactory.java?rev=1054703&r1=1054702&r2=1054703&view=diff
==============================================================================
--- commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/WaiterFactory.java (original)
+++ commons/sandbox/performance/trunk/src/java/org/apache/commons/performance/pool/WaiterFactory.java Mon Jan 3 18:38:16 2011
@@ -35,12 +35,25 @@ public class WaiterFactory implements Po
KeyedPoolableObjectFactory {
// TODO: implement protected getters so these can be stochastic
+ /** Latency of activateObject */
private final long activateLatency;
+
+ /** Latency of destroyObject */
private final long destroyLatency;
+
+ /** Latency of makeObject */
private final long makeLatency;
+
+ /** Latency of passivateObject */
private final long passivateLatency;
+
+ /** Latency of validateObject */
private final long validateLatency;
+
+ /** Latency of doWait for Waiter instances created by this factory */
private final long waiterLatency;
+
+ /** Probability that passivation will invalidate Waiter instances */
private final double passivateInvalidationProbability;
/** Count of (makes - destroys) since last reset */