Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] configurable Caching Resolver ?

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] configurable Caching Resolver ?


Chronological Thread 
  • From: Tom Zeller <>
  • To: Chris Hyzer <>
  • Cc: Grouper Dev <>
  • Subject: Re: [grouper-dev] configurable Caching Resolver ?
  • Date: Wed, 23 Mar 2011 22:12:57 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=lV6ntNE1lUb7/FwCEBj6d6LDdnu02D17aR5bI+UK/zGGBJts07ow7PgVduzmVVsr0w lOzMsKDvzOYPqGoxQ4Gdm+WCPQqdd6A/EvCn/GjPs641Ex3bQXZHbeon+ux/d34qH/VJ rsBOMyYqlBh9djvfm4dJp58d9wS8GOkn4BBgQ=

Great, this should help, thanks.

On Wed, Mar 23, 2011 at 10:07 PM, Chris Hyzer
<>
wrote:
> Ehcachecontroller says it's the grouper.ehcache.xml file to customize the
> behavior...  if you want to put it in the example file for this, then it
> will use that as the default...
>
>        LOG.info("cache not configured explicitly: " + name + ", to override
> default values, " +
>                        "configure in the resource /grouper.ehcache.xml.  
> Default values are:" +
>                        "maxElementsInMemory: " + defaultMaxElementsInMemory
> + ", eternal: " + defaultEternal
>                        + ", timeToIdleSeconds: " + defaultTimeToIdleSeconds
> + ", timeToLiveSeconds: "
>                        + defaultTimeToLiveSeconds + ", overFlowToDisk: " +
> defaultOverflowToDisk);
>
> Thanks,
> Chris
>
> -----Original Message-----
> From: Chris Hyzer
> Sent: Wednesday, March 23, 2011 11:03 PM
> To: 'Tom Zeller'; Grouper Dev
> Subject: RE: [grouper-dev] configurable Caching Resolver ?
>
> Hardcoded for defaults, but if you use that classname .FindAll in the
> ehcache config file (one or the other, forget which one) you can override
> it.  :)
>
> Thanks,
> Chris
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Tom Zeller
> Sent: Wednesday, March 23, 2011 7:39 PM
> To: Grouper Dev
> Subject: [grouper-dev] configurable Caching Resolver ?
>
> It might be nice to be able to configure the CachingResolver via
> grouper.properties or ehcache.xml or ?
>
> The TTL and maxElements are hardcoded :
>
> public class CachingResolver  {
>
>  static GrouperCache<MultiKey, Set<Subject>> findAllCache = new
> GrouperCache<MultiKey, Set<Subject>>(CachingResolver.class.getName() +
> ".FindAll", 5000, false, 30, 120, false);
>



Archive powered by MHonArc 2.6.16.

Top of Page