MCPcopy Index your code
hub / github.com/apache/tomcat / compareTo

Method compareTo

java/org/apache/tomcat/dbcp/pool2/PooledObject.java:89–89  ·  view source on GitHub ↗

Orders instances based on idle time - i.e. the length of time since the instance was returned to the pool. Used by the GKOP idle object evictor. Note: This class has a natural ordering that is inconsistent with equals if distinct objects have the same identity hash code. {@inherit

(PooledObject<T> other)

Source from the content-addressed store, hash-verified

87 * </p>
88 */
89 @Override
90 int compareTo(PooledObject<T> other);
91
92 /**

Callers 15

testAddHostMethod · 0.65
isELReservedMethod · 0.65
isJavaKeywordMethod · 0.65
setScriptingVarsMethod · 0.65
startPoolMaintenanceMethod · 0.65
validateLifetimeMethod · 0.65
validateMethod · 0.65
createMethod · 0.65
compareToMethod · 0.65
evictMethod · 0.65
createRemoveListMethod · 0.65
updateStatsBorrowMethod · 0.65

Calls

no outgoing calls

Tested by 1

testAddHostMethod · 0.52