[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1091) Make singletonStore implementation class pluggable

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Thu Jul 12 06:15:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-1091?page=all ]

Galder Zamarreno updated JBCACHE-1091:
--------------------------------------

    JBoss Forum Reference: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=113295

XML configuration will be in the format of:

<cacheloader>
   ....
   <singletonStore>
      <enabled>true</enabled>  
      <class>org.jboss.cache.loader.SingletonStoreCacheLoader</class>
      <properties>
         pushStateWhenCoordinator = true
         pushStateWhenCoordinatorTimeout = 60
      </properties>
   </singletonStore>
   ...
<cacheloader>

As agreed in the forum thread

> Make singletonStore implementation class pluggable
> --------------------------------------------------
>
>                 Key: JBCACHE-1091
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1091
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Cache loaders
>    Affects Versions: 2.0.0.CR1
>            Reporter: Galder Zamarreno
>         Assigned To: Galder Zamarreno
>            Priority: Minor
>             Fix For: 2.0.0.GA, 2.0.0.CR4
>
>
> Make implementation for CacheLoader singletonStore option configurable via class 
> property in case users want to provide an extended behaviour, i.e.:
> Users might want to just push data to the cache store when the cache is stopped and it's 
> the last node remaining in the cluster as opposed to after each put or tx commit.
> Default would be:
> <singletonStore class="org.jboss.cache.loader.SingletonStoreCacheLoader" pushStateWhenCoordinator="false">false</singletonStore>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list