[infinispan-issues] [JBoss JIRA] Commented: (ISPN-610) Apply isStateTransferEnabled attribute to consumer only

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Sep 2 06:15:52 EDT 2010


    [ https://jira.jboss.org/browse/ISPN-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12548553#action_12548553 ] 

Manik Surtani commented on ISPN-610:
------------------------------------

Note that this is optional, and controlled by a new setAlwaysProvideInMemoryState() setter on Configuration.  Defaults to false.

> Apply isStateTransferEnabled attribute to consumer only
> -------------------------------------------------------
>
>                 Key: ISPN-610
>                 URL: https://jira.jboss.org/browse/ISPN-610
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Core API
>    Affects Versions: 4.1.0.CR3
>            Reporter: craig bomba
>            Assignee: Manik Surtani
>            Priority: Minor
>             Fix For: 4.1.0.Final
>
>         Attachments: infinispan-core-state-trans.jar
>
>
> We needed to be able to configure state transfer providers and consumers separately. The short term strategy is to make each node a provider. We then use the 'fetchInMemoryState' attribute to determine if a node can be a consumer or not.
> org.infinispan.factories.StateTransferManagerFactory
> Updated to remove the 'isStateTransferEnabled' check. Now every node is a state transfer provider.
> org.infinispan.statetransfer.StateTransferManagerImpl
> public void start() 
> Updated to now check the 'fetchInMemoryState' attribute to determine if this node can operate as a consumer.
> public void generateState()
> Updated so that any node can generate the state.

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

        


More information about the infinispan-issues mailing list