Apama  10.15.1.2
com::apama::epl::ThreadEndedHandler Class Referenceabstract

An interface for receiving notifications of threads being destroyed. More...

#include <epl_plugin.hpp>

Public Types

typedef std::unique_ptr< ThreadEndedHandlerptr_t
 Pointer type for passing to receiveThreadEndedCallbacks. More...
 

Public Member Functions

virtual ~ThreadEndedHandler ()
 To allow virtual deletion. More...
 
virtual void threadEnded ()=0
 Called when a thread is to be destroyed, on the thread being destroyed. More...
 

Detailed Description

An interface for receiving notifications of threads being destroyed.

This is typically used if you need to clean up any thread-local storage used by the plug-in. ThreadEnded callback registration is done by CorrelatorInterface::receiveThreadEndedCallbacks.

Member Typedef Documentation

◆ ptr_t

Pointer type for passing to receiveThreadEndedCallbacks.

Constructor & Destructor Documentation

◆ ~ThreadEndedHandler()

virtual com::apama::epl::ThreadEndedHandler::~ThreadEndedHandler ( )
inlinevirtual

To allow virtual deletion.

Member Function Documentation

◆ threadEnded()

virtual void com::apama::epl::ThreadEndedHandler::threadEnded ( )
pure virtual

Called when a thread is to be destroyed, on the thread being destroyed.


The documentation for this class was generated from the following file: