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

craig bomba (JIRA) jira-events at lists.jboss.org
Wed Aug 18 15:38:11 EDT 2010


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
            Reporter: craig bomba
            Assignee: craig bomba
            Priority: Minor
         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