Interface for doing garbage collection of conditions objects.
More...
#include <IConditionsCleanerSvc.h>
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: