Package org.appng.cli.commands.heartbeat
Class HeartBeat.HeartBeatEvent
- java.lang.Object
-
- org.appng.api.messaging.Event
-
- org.appng.cli.commands.heartbeat.HeartBeat.HeartBeatEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- HeartBeat
public static class HeartBeat.HeartBeatEvent extends Event implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HeartBeatEvent(String site)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
perform(Environment environment, Site site)
Performs the event-
Methods inherited from class org.appng.api.messaging.Event
getNodeId, getSiteName, setNodeId, toString
-
-
-
-
Constructor Detail
-
HeartBeatEvent
public HeartBeatEvent(String site)
-
-
Method Detail
-
perform
public void perform(Environment environment, Site site) throws InvalidConfigurationException, BusinessException
Description copied from class:Event
Performs the event- Specified by:
perform
in classEvent
- Parameters:
environment
- thenEnvironment
to usesite
- theSite
where the event occurred- Throws:
InvalidConfigurationException
- if there's a configuration errorBusinessException
- if an error occurs while performing the event
-
-