A handler doing "something" on a link graph component. More...
#include <linkgraph.h>
Public Member Functions | |
virtual | ~ComponentHandler () |
Destroy the handler. | |
virtual void | Run (LinkGraphJob *job)=0 |
Run the handler. |
A handler doing "something" on a link graph component.
It must not keep any state as it is called concurrently from different threads.
Definition at line 101 of file linkgraph.h.
virtual ComponentHandler::~ComponentHandler | ( | ) | [inline, virtual] |
virtual void ComponentHandler::Run | ( | LinkGraphJob * | job | ) | [pure virtual] |
Run the handler.
A link graph handler must not read or write any data outside the given component as that would create a potential desync.
job | Link graph component to run the handler on. |
Implemented in DemandHandler, FlowMapper, InitHandler, and MCFHandler< Tpass >.
Referenced by LinkGraphSchedule::Run().