Author: manik.surtani(a)jboss.com
Date: 2008-10-30 18:55:15 -0400 (Thu, 30 Oct 2008)
New Revision: 7037
Modified:
core/trunk/src/main/java/org/jboss/cache/eviction/LRUAlgorithmConfig.java
Log:
Better toString
Modified: core/trunk/src/main/java/org/jboss/cache/eviction/LRUAlgorithmConfig.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/eviction/LRUAlgorithmConfig.java 2008-10-30
17:47:51 UTC (rev 7036)
+++ core/trunk/src/main/java/org/jboss/cache/eviction/LRUAlgorithmConfig.java 2008-10-30
22:55:15 UTC (rev 7037)
@@ -148,10 +148,12 @@
public String toString()
{
- return "LRUAlgorithmConfig {" +
+ return getClass().getSimpleName() + "{" +
"algorithmClassName=" + evictionAlgorithmClassName +
", timeToLive=" + timeToLive +
", maxAge=" + maxAge +
+ ", minTTL=" + minTimeToLive +
+ ", maxNodes=" + maxNodes +
'}';
}
Show replies by date