commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r990683 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
Date Mon, 30 Aug 2010 01:40:36 GMT
Author: psteitz
Date: Mon Aug 30 01:40:36 2010
New Revision: 990683

URL: http://svn.apache.org/viewvc?rev=990683&view=rev
Log:
Added getters for deprecated fields in ObjectTimeStampPair.  JIRA: POOL-167.

Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java?rev=990683&r1=990682&r2=990683&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
Mon Aug 30 01:40:36 2010
@@ -2282,6 +2282,20 @@ public class GenericKeyedObjectPool exte
                 return (int)Math.min(Math.max(tstampdiff, Integer.MIN_VALUE), Integer.MAX_VALUE);
             }
         }
+
+        /**
+         * @return the value
+         */
+        public Object getValue() {
+            return value;
+        }
+
+        /**
+         * @return the tstamp
+         */
+        public long getTstamp() {
+            return tstamp;
+        }
     }
 
     /**



Mime
View raw message