Package com.adaptris.failover.jgroups
Class JGroupsChannel
- java.lang.Object
-
- com.adaptris.failover.jgroups.JGroupsChannel
-
public class JGroupsChannel extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description JGroupsChannel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClusterName()java.lang.StringgetConfigFileLocation()static JGroupsChannelgetInstance()org.jgroups.JChannelgetJGroupsChannel()voidsetClusterName(java.lang.String clusterName)voidsetConfigFileLocation(java.lang.String configFileLocation)voidsetJGroupsChannel(org.jgroups.JChannel jGroupsChannel)voidstart()voidstop()
-
-
-
Method Detail
-
getInstance
public static JGroupsChannel getInstance()
-
getJGroupsChannel
public org.jgroups.JChannel getJGroupsChannel() throws java.lang.Exception- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
stop
public void stop()
-
getConfigFileLocation
public java.lang.String getConfigFileLocation()
-
setJGroupsChannel
public void setJGroupsChannel(org.jgroups.JChannel jGroupsChannel)
-
setConfigFileLocation
public void setConfigFileLocation(java.lang.String configFileLocation)
-
getClusterName
public java.lang.String getClusterName()
-
setClusterName
public void setClusterName(java.lang.String clusterName)
-
-