Class HeartbeatConsumer
- java.lang.Object
-
- org.opennms.minion.heartbeat.consumer.HeartbeatConsumer
-
- All Implemented Interfaces:
MessageConsumer<MinionIdentityDTO,MinionIdentityDTO>,org.springframework.beans.factory.InitializingBean
public class HeartbeatConsumer extends Object implements MessageConsumer<MinionIdentityDTO,MinionIdentityDTO>, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description HeartbeatConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()ThreadPoolExecutorgetExecutor()SinkModule<MinionIdentityDTO,MinionIdentityDTO>getModule()voidhandleMessage(MinionIdentityDTO minionHandle)voidsetEventSubscriptionService(EventSubscriptionService eventSubscriptionService)voidshutdown()
-
-
-
Method Detail
-
handleMessage
@Transactional public void handleMessage(MinionIdentityDTO minionHandle)
- Specified by:
handleMessagein interfaceMessageConsumer<MinionIdentityDTO,MinionIdentityDTO>
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
shutdown
public void shutdown()
-
getModule
public SinkModule<MinionIdentityDTO,MinionIdentityDTO> getModule()
- Specified by:
getModulein interfaceMessageConsumer<MinionIdentityDTO,MinionIdentityDTO>
-
setEventSubscriptionService
public void setEventSubscriptionService(EventSubscriptionService eventSubscriptionService)
-
getExecutor
public ThreadPoolExecutor getExecutor()
-
-