Interface for doing garbage collection of conditions objects.
More...
#include <IConditionsCleanerSvc.h>
|
| | DeclareInterfaceID (IConditionsCleanerSvc, 1, 0) |
| virtual StatusCode | event (const EventContext &ctx, bool allowAsync)=0 |
| | Called at the start of each event.
|
| virtual StatusCode | condObjAdded (const EventContext &ctx, CondContBase &cc)=0 |
| | Called after a conditions object has been added.
|
| virtual StatusCode | printStats () const =0 |
| | Print some statistics about the garbage collection.
|
| virtual StatusCode | reset ()=0 |
| | Clear the internal state of the service.
|
Interface for doing garbage collection of conditions objects.
Definition at line 32 of file IConditionsCleanerSvc.h.
◆ condObjAdded()
| virtual StatusCode Athena::IConditionsCleanerSvc::condObjAdded |
( |
const EventContext & | ctx, |
|
|
CondContBase & | cc ) |
|
pure virtual |
Called after a conditions object has been added.
- Parameters
-
| ctx | The current event context. |
| cc | The container to which the object was added. |
◆ DeclareInterfaceID()
◆ event()
| virtual StatusCode Athena::IConditionsCleanerSvc::event |
( |
const EventContext & | ctx, |
|
|
bool | allowAsync ) |
|
pure virtual |
Called at the start of each event.
- Parameters
-
| ctx | The current event context. |
| allowAsync | If true, then cleaning may be run in an asynchronous TBB task. |
◆ printStats()
| virtual StatusCode Athena::IConditionsCleanerSvc::printStats |
( |
| ) |
const |
|
pure virtual |
Print some statistics about the garbage collection.
Would generally be called in finalize(), but broken out as a separate interface for testing/debugging purposes.
◆ reset()
| virtual StatusCode Athena::IConditionsCleanerSvc::reset |
( |
| ) |
|
|
pure virtual |
Clear the internal state of the service.
Only for testing. Don't call if any other thread may be touching the service.
The documentation for this class was generated from the following file: