Class SiteMasterPickerImpl
- java.lang.Object
-
- org.infinispan.remoting.transport.jgroups.SiteMasterPickerImpl
-
- All Implemented Interfaces:
org.jgroups.protocols.relay.SiteMasterPicker
public class SiteMasterPickerImpl extends Object implements org.jgroups.protocols.relay.SiteMasterPicker
ASiteMasterPicker
implementation that picks the first route.Only a single route can be used in order to keep the data consistent for asynchronous cross-site replication.
- Since:
- 9.0
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description SiteMasterPickerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jgroups.protocols.relay.Route
pickRoute(String site, List<org.jgroups.protocols.relay.Route> routes, org.jgroups.Address original_sender)
org.jgroups.Address
pickSiteMaster(List<org.jgroups.Address> site_masters, org.jgroups.Address original_sender)
-
-
-
Method Detail
-
pickSiteMaster
public org.jgroups.Address pickSiteMaster(List<org.jgroups.Address> site_masters, org.jgroups.Address original_sender)
- Specified by:
pickSiteMaster
in interfaceorg.jgroups.protocols.relay.SiteMasterPicker
-
-