The factory is an interface to a factory that creates session_storage objects, it should be thread safe.
More...
#include <cppcms/session_storage.h>
The factory is an interface to a factory that creates session_storage objects, it should be thread safe.
virtual cppcms::sessions::session_storage_factory::~session_storage_factory |
( |
| ) |
|
|
inlinevirtual |
Delete the object, cleanup
virtual void cppcms::sessions::session_storage_factory::gc_job |
( |
| ) |
|
|
inlinevirtual |
Actual garbage collection job (if required). If requires_gc returns true it will be called once-in-a-while to remove all expired objects from the DB.
virtual bool cppcms::sessions::session_storage_factory::requires_gc |
( |
| ) |
|
|
pure virtual |
Return true if session_storage requires garbage collection - removal of expired session time-to-time
The documentation for this class was generated from the following file: