[infinispan-issues] [JBoss JIRA] (ISPN-10600) Create empty XSiteStateTransferManager and related classes

Pedro Ruivo (Jira) issues at jboss.org
Tue Sep 17 07:06:00 EDT 2019


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

Pedro Ruivo commented on ISPN-10600:
------------------------------------

I went for a different approach. 
{{XSiteStateConsumer}} is always instantiated because of the active-passive xsite scenario. Even without xsite enabled, a cache can receive state from a remote site.
The other related classes are instantiated only if xsite is enabled:
* {{XSiteAdminOperations}}, that depends on:
** {{BackupSender}}
** {{XSiteStateTransferManager}}, that depends on
*** {{XSiteStateProvider}}

> Create empty XSiteStateTransferManager and related classes
> ----------------------------------------------------------
>
>                 Key: ISPN-10600
>                 URL: https://issues.jboss.org/browse/ISPN-10600
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Cross-Site Replication
>    Affects Versions: 10.0.0.CR2
>            Reporter: Pedro Ruivo
>            Assignee: Pedro Ruivo
>            Priority: Major
>             Fix For: 10.0.0.CR3
>
>
> When a cache doesn't have cross-site replication enabled, it can instantiate empty implementation of {{XSiteStateTransferManager}}, {{XSiteStateConsumer}} and {{XSiteStateProvider}} to save some memory and avoid registering uneeded listeners.



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the infinispan-issues mailing list