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