Class JGroupsBroadcaster
java.lang.Object
com.adaptris.mgmt.cluster.jgroups.JGroupsBroadcaster
- All Implemented Interfaces:
ComponentLifecycle,Broadcaster
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanisDebug()protected MBeanServervoidsetDebug(boolean debug) voidsetJGroupsClusterName(String jGroupsClusterName) voidsetJGroupsConfiguration(String jGroupsConfiguration) voidsetMbeanServer(MBeanServer mbeanServer) voidsetNetworkPingSender(NetworkPingSender networkPingSender) voidsetPingData(ClusterInstance pingData) voidsetSendDelaySeconds(int sendDelaySeconds) voidstart()voidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adaptris.core.ComponentLifecycle
close, init
-
Constructor Details
-
JGroupsBroadcaster
public JGroupsBroadcaster()
-
-
Method Details
-
start
- Specified by:
startin interfaceComponentLifecycle- Throws:
CoreException
-
stop
public void stop()- Specified by:
stopin interfaceComponentLifecycle
-
mbeanServer
- Throws:
Exception
-
getPingData
-
setPingData
- Specified by:
setPingDatain interfaceBroadcaster
-
getSendDelaySeconds
public int getSendDelaySeconds() -
setSendDelaySeconds
public void setSendDelaySeconds(int sendDelaySeconds) - Specified by:
setSendDelaySecondsin interfaceBroadcaster
-
getNetworkPingSender
-
setNetworkPingSender
-
getJGroupsClusterName
-
setJGroupsClusterName
- Specified by:
setJGroupsClusterNamein interfaceBroadcaster
-
getMbeanServer
-
setMbeanServer
-
isDebug
public boolean isDebug() -
setDebug
public void setDebug(boolean debug) - Specified by:
setDebugin interfaceBroadcaster
-
getJGroupsConfiguration
-
setJGroupsConfiguration
- Specified by:
setJGroupsConfigurationin interfaceBroadcaster
-