Package org.apache.catalina.ha.backend
Class HeartbeatListener
- java.lang.Object
-
- org.apache.catalina.ha.backend.HeartbeatListener
-
- All Implemented Interfaces:
ContainerListener,LifecycleListener
public class HeartbeatListener extends java.lang.Object implements LifecycleListener, ContainerListener
-
-
Constructor Summary
Constructors Constructor Description HeartbeatListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontainerEvent(ContainerEvent event)Acknowledge the occurrence of the specified event.java.lang.StringgetGroup()java.lang.StringgetHost()intgetMultiport()java.lang.StringgetProxyList()java.lang.StringgetProxyURL()intgetTtl()voidlifecycleEvent(LifecycleEvent event)Acknowledge the occurrence of the specified event.
-
-
-
Method Detail
-
getHost
public java.lang.String getHost()
-
getGroup
public java.lang.String getGroup()
-
getMultiport
public int getMultiport()
-
getTtl
public int getTtl()
-
getProxyList
public java.lang.String getProxyList()
-
getProxyURL
public java.lang.String getProxyURL()
-
containerEvent
public void containerEvent(ContainerEvent event)
Description copied from interface:ContainerListenerAcknowledge the occurrence of the specified event.- Specified by:
containerEventin interfaceContainerListener- Parameters:
event- ContainerEvent that has occurred
-
lifecycleEvent
public void lifecycleEvent(LifecycleEvent event)
Description copied from interface:LifecycleListenerAcknowledge the occurrence of the specified event.- Specified by:
lifecycleEventin interfaceLifecycleListener- Parameters:
event- LifecycleEvent that has occurred
-
-