MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / handler

Method handler

src/jrd/trace/TraceConfigStorage.cpp:977–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

975}
976
977void ConfigStorage::TouchFile::handler()
978{
979 try
980 {
981 if (!os_utils::touchFile(fileName.c_str()))
982 system_call_failed::raise("utime");
983
984 FbLocalStatus s;
985 TimerInterfacePtr()->start(&s, this, TOUCH_INTERVAL * 1000 * 1000);
986 s.check();
987 }
988 catch (const Exception& e)
989 {
990 iscLogException("TouchFile failed", e);
991 }
992}
993
994void ConfigStorage::TouchFile::start(const char* fName)
995{

Callers

nothing calls this directly

Calls 7

raiseFunction · 0.85
TimerInterfacePtrClass · 0.85
iscLogExceptionFunction · 0.85
touchFileFunction · 0.50
c_strMethod · 0.45
startMethod · 0.45
checkMethod · 0.45

Tested by

no test coverage detected