Class EmbeddedJGroupsChannelConfigurator
- java.lang.Object
-
- org.infinispan.remoting.transport.jgroups.EmbeddedJGroupsChannelConfigurator
-
- All Implemented Interfaces:
JGroupsChannelConfigurator,org.jgroups.conf.ProtocolStackConfigurator
public class EmbeddedJGroupsChannelConfigurator extends Object implements JGroupsChannelConfigurator
A JGroupsProtocolStackConfiguratorwhich- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmbeddedJGroupsChannelConfigurator.StackCombine
-
Constructor Summary
Constructors Constructor Description EmbeddedJGroupsChannelConfigurator(String name)EmbeddedJGroupsChannelConfigurator(String name, List<org.jgroups.conf.ProtocolConfiguration> stack)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRemoteSite(String remoteSite, JGroupsChannelConfigurator stackConfigurator)static EmbeddedJGroupsChannelConfiguratorcombine(JGroupsChannelConfigurator baseStack, EmbeddedJGroupsChannelConfigurator stack)org.jgroups.JChannelcreateChannel()StringgetName()List<org.jgroups.conf.ProtocolConfiguration>getProtocolStack()StringgetProtocolStackString()Map<String,JGroupsChannelConfigurator>getRemoteSites()
-
-
-
Method Detail
-
getProtocolStackString
public String getProtocolStackString()
- Specified by:
getProtocolStackStringin interfaceorg.jgroups.conf.ProtocolStackConfigurator
-
getProtocolStack
public List<org.jgroups.conf.ProtocolConfiguration> getProtocolStack()
- Specified by:
getProtocolStackin interfaceorg.jgroups.conf.ProtocolStackConfigurator
-
getRemoteSites
public Map<String,JGroupsChannelConfigurator> getRemoteSites()
-
getName
public String getName()
- Specified by:
getNamein interfaceJGroupsChannelConfigurator
-
createChannel
public org.jgroups.JChannel createChannel() throws Exception- Specified by:
createChannelin interfaceJGroupsChannelConfigurator- Throws:
Exception
-
addRemoteSite
public void addRemoteSite(String remoteSite, JGroupsChannelConfigurator stackConfigurator)
-
combine
public static EmbeddedJGroupsChannelConfigurator combine(JGroupsChannelConfigurator baseStack, EmbeddedJGroupsChannelConfigurator stack)
-
-