Class JChannelManager
java.lang.Object
org.apache.activemq.artemis.api.core.jgroups.JChannelManager
This class maintain a global Map of JChannels wrapped in JChannelWrapper for
the purpose of reference counting.
Wherever a JChannel is needed it should only get it by calling the getChannel()
method of this class. The real disconnect of channels are also done here only.
-
Method Summary
Modifier and TypeMethodDescriptionclear()
static JChannelManager
getJChannel
(String channelName, JGroupsBroadcastEndpoint endpoint) boolean
void
removeChannel
(String channelName) setLoopbackMessages
(boolean loopbackMessages)
-
Method Details
-
getInstance
-
clear
-
isLoopbackMessages
public boolean isLoopbackMessages() -
setLoopbackMessages
-
getJChannel
public JChannelWrapper getJChannel(String channelName, JGroupsBroadcastEndpoint endpoint) throws Exception - Throws:
Exception
-
removeChannel
-