#include <userver/testsuite/dump_control.hpp>
Dumper control interface for testsuite.
All methods are coro-safe.
Definition at line 33 of file dump_control.hpp.
Public Types | |
| enum class | PeriodicsMode { kDisabled , kEnabled } |
Public Member Functions | |
| DumpControl (PeriodicsMode periodics_mode) | |
| PeriodicsMode | GetPeriodicsMode () const |
| void | WriteCacheDumps (const std::vector< std::string > &dumper_names) |
| void | ReadCacheDumps (const std::vector< std::string > &dumper_names) |
| void | RegisterScope (utils::ResourceScopeStorage &scopes, Dumper &dumper) |
| Registers a dumper bound to scopes. | |
|
strong |
Definition at line 35 of file dump_control.hpp.
| void testsuite::DumpControl::RegisterScope | ( | utils::ResourceScopeStorage & | scopes, |
| Dumper & | dumper ) |
Registers a dumper bound to scopes.
The dumper is registered after construction of the object that owns scopes and is unregistered just before that object is destroyed.