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.Logger
log
-
Constructor Summary
Constructors Constructor Description JGroupsChannel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClusterName()
java.lang.String
getConfigFileLocation()
static JGroupsChannel
getInstance()
org.jgroups.JChannel
getJGroupsChannel()
void
setClusterName(java.lang.String clusterName)
void
setConfigFileLocation(java.lang.String configFileLocation)
void
setJGroupsChannel(org.jgroups.JChannel jGroupsChannel)
void
start()
void
stop()
-
-
-
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)
-
-