EHC ❯ the String name of the cache is transient in the Statistics class
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
ehcache-core
-
-
cdennis
-
Reporter: latchkey
-
November 09, 2009
-
0
-
Watchers: 1
-
January 15, 2010
-
December 02, 2009
Description
It would be so great if the Statistics class hung onto the string name of the cache across serialization.
This would require just adding another private String field to Statistics, setting the field in the constructor and then making getAssociatedCacheName() return the value if cache is null.
Adding this simple thing would make this class infinitely more useful.
Comments
Alex Miller 2009-11-10
Chris Dennis 2009-12-02
Done
Seems reasonable to consider