Clear all data in destroy?
by Brian Stansberry
Shouldn't destroy() clear all data from the in-memory cache? Or maybe
stop()? IMHO if you destroy a cache and then call create/start again you
shouldn't see the old data.
Not advocating doing anything fancy here, i.e. anything that goes
through the interceptor chain. Simple clearing of the data and children
maps on the root node.
--
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry(a)redhat.com
17 years, 5 months
Move EvictionPolicyConfig interface?
by Brian Stansberry
More minor details that come out as I write docs...
I'd like to move the EvictionPolicyConfig interface from o.j.c.eviction
to o.j.c.config. All the other core classes and interfaces that make up
a Configuration are in o.j.c.config. Then various
implementation-specific subclasses are in the various other packages,
along with the classes they configure, e.g.
o.j.c.buddyreplication.NextMemberBuddyLocator
o.j.c.buddyreplication.NextMemberBuddyLocatorConfig
o.j.c.loader.FileCacheLoader
o.j.c.loader.FileCacheLoaderConfig
o.j.c.eviction.LRUPolicy
o.j.c.eviction.LRUPolicyConfig
EvictionPolicyConfig is the only outlier here. I think it just got left
behind when we refactored from a legacy class with a similar function.
--
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry(a)redhat.com
17 years, 5 months