ATLAS Offline Software
Public Member Functions | List of all members
Athena::IConditionsCleanerSvc Class Referenceabstract

Interface for doing garbage collection of conditions objects. More...

#include <IConditionsCleanerSvc.h>

Inheritance diagram for Athena::IConditionsCleanerSvc:
Collaboration diagram for Athena::IConditionsCleanerSvc:

Public Member Functions

 DeclareInterfaceID (IConditionsCleanerSvc, 1, 0)
 
virtual StatusCode event (const EventContext &ctx, bool allowAsync)=0
 Called at the start of each event. More...
 
virtual StatusCode condObjAdded (const EventContext &ctx, CondContBase &cc)=0
 Called after a conditions object has been added. More...
 
virtual StatusCode printStats () const =0
 Print some statistics about the garbage collection. More...
 
virtual StatusCode reset ()=0
 Clear the internal state of the service. More...
 

Detailed Description

Interface for doing garbage collection of conditions objects.

Definition at line 32 of file IConditionsCleanerSvc.h.

Member Function Documentation

◆ condObjAdded()

virtual StatusCode Athena::IConditionsCleanerSvc::condObjAdded ( const EventContext &  ctx,
CondContBase cc 
)
pure virtual

Called after a conditions object has been added.

Parameters
ctxThe current event context.
ccThe container to which the object was added.

◆ DeclareInterfaceID()

Athena::IConditionsCleanerSvc::DeclareInterfaceID ( IConditionsCleanerSvc  ,
,
 
)

◆ event()

virtual StatusCode Athena::IConditionsCleanerSvc::event ( const EventContext &  ctx,
bool  allowAsync 
)
pure virtual

Called at the start of each event.

Parameters
ctxThe current event context.
allowAsyncIf 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: