org.apache.activemq.artemis.api.core.jgroups

## Class JChannelManager

- java.lang.Object
- - org.apache.activemq.artemis.api.core.jgroups.JChannelManager

-     public class JChannelManager
      extends Object

  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.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JChannelManager()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `JChannelWrapper` | `getJChannel(String channelName, JGroupsBroadcastEndpoint endpoint)`
    `void` | `removeChannel(String channelName)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JChannelManager

          public JChannelManager()

  - ### Method Detail

    - #### getJChannel

          public JChannelWrapper getJChannel(String channelName,
                                             JGroupsBroadcastEndpoint endpoint)
                                      throws Exception

      Throws:
        `Exception`

    - #### removeChannel

          public void removeChannel(String channelName)

Copyright © 2016. All rights reserved.