[jbosscache-dev] storeState/loadState moved to AbstractCacheLoader
Vladimir Blagojevic
vladimir.blagojevic at jboss.com
Wed Sep 13 10:11:42 EDT 2006
Yes lets leave them there.
This is actually a prime example for what Joshua Bloch calls "combining
the virtues of interfaces and abstract classes by providing skeletal
implementation class to go with each nontrivial interface that you
export".
You don't have to go further than java collections library to see
example of this principle exploited to the maximum.
Vladimir
> -----Original Message-----
> From: Manik Surtani [mailto:manik at jboss.org]
> Sent: Wednesday, September 13, 2006 5:58 AM
> To: Vladimir Blagojevic
> Cc: jbosscache-dev at lists.jboss.org
> Subject: Re: [jbosscache-dev] storeState/loadState moved to
> AbstractCacheLoader
>
> Looks good.
>
> So we're still leaving store/load state methods in the cache
> loader interface? I suppose this is ok, as people may
> implement more efficient or specific versions of these rather
> than forcing the repeated use of put/get.
More information about the jbosscache-dev
mailing list