libdap
Updated for version 3.20.6
libdap4 is an implementation of OPeNDAP's DAP protocol.
|
#include <HTTPCacheInterruptHandler.h>
Public Member Functions | |
virtual void | handle_signal (int signum) |
Handle SIGINT for HTTPCache. When the cache is in use and the process is sent SIGINT, we must make sure that the cache is left in a consistent state. This includes removing the lock file, updating the index file and making sure no partially written data or meta data files exist.
Definition at line 57 of file HTTPCacheInterruptHandler.h.
|
inlinevirtual |
Handle SIGINT. This handler first deletes any files opened but not added to the cache index files and then calls HTTPCache::delete_instance().
signum | We know it is SIGINT; included here as a check and only when NDEBUG is not defined. |
Implements libdap::EventHandler.
Definition at line 77 of file HTTPCacheInterruptHandler.h.