A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/icache__clean__thread_8hpp_source.html below:

NCBI C++ ToolKit: include/util/cache/icache_clean_thread.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef UTIL_CACHE_THREAD_CLEANER__HPP 2 #define UTIL_CACHE_THREAD_CLEANER__HPP 51  unsigned

stop_request_poll = 10)

66  Error

<<

"Error when cleaning cache: " 68

<<

" cleaning thread has been stopped."

);

Thread class, peridically calls ICache::Purge to remove obsolete elements.

CCacheCleanerThread(ICache *cache, unsigned run_delay, unsigned stop_request_poll=10)

virtual void DoJob(void)

Payload function.

Adaptation of CThread class repeatedly running some job.

void RequestStop()

Schedule thread Stop.

BLOB cache read/write/maintenance interface.

virtual void Purge(time_t access_timeout)=0

Delete all BLOBs older than specified.

virtual int GetTimeout() const =0

Get expiration timeout.

#define ERR_POST_XX(error_name, err_subcode, message)

Error posting with error code having given name and with given error subcode.

void Error(CExceptionArgs_Base &args)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

Interfaces for a local cache of versioned binary large objects (BLOBS).

Definition of all error codes used in util (xutil.lib).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4