[
https://issues.jboss.org/browse/ISPN-10600?page=com.atlassian.jira.plugin...
]
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)