0 Replies Latest reply on Mar 14, 2006 4:45 PM by Brian Stansberry

    Clearing entries from ReplicationStatistics

    Brian Stansberry Master

      JBossCacheManager maintains a ReplicationStatistics object, which is basically a map with session ids as keys and an object encapsulating various passivation and replication stats as a value.

      I don't see any call anywhere to the method that removes entries from the map. I would presume this method should be called when a session is removed from the manager. Otherwise the map will grow forever.

      I'm assuming this is a bug and am going to change JBossCacheManager to remove the stats when the session is removed from the manager. If anyone knows any reason not to do this, please let me know.