| 975 | } |
| 976 | |
| 977 | void 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 | |
| 994 | void ConfigStorage::TouchFile::start(const char* fName) |
| 995 | { |
nothing calls this directly
no test coverage detected