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/vdbcache_8hpp_source.html below:

NCBI C++ ToolKit: include/sra/readers/sra/vdbcache.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef SRA__READER__SRA__VDBCACHE__HPP 2 #define SRA__READER__SRA__VDBCACHE__HPP 58  return

m_CacheMap.get_size_limit();

62  return

m_ForceReopenSeconds;

66  return

m_RecheckSeconds;

68  void

set_size_limit(

size_t

limit);

69  void

SetForceReopenSeconds(

unsigned

seconds);

70  void

SetRecheckSeconds(

unsigned

seconds);

80  static string

DereferncePath(

const CVDBMgr

& mgr,

const string

& acc_or_path);

81  static CTime

GetTimestamp(

const CVDBMgr

& mgr,

const string

& path);

96  virtual

~

CSlot

()

override

;

104  template

<

class

Object>

107  return Ref

(

dynamic_cast<

Object*

>

(m_Object.GetNCPointerOrNull()));

115

SetObject(

nullptr

);

119  const string

& acc_or_path)

const

;

121  const string

& acc_or_path);

CDeadline m_ForceReopenDeadline

CDeadline m_RecheckDeadline

string m_DereferencedPath

void operator=(const CExpirationInfo &)=delete

CExpirationInfo(const CExpirationInfo &)=delete

TSlotMutex & GetSlotMutex()

CSlot(const CSlot &)=delete

void SetObject(CObject *object)

void operator=(const CSlot &)=delete

CRef< CExpirationInfo > m_ExpirationInfo

CRef< Object > GetObject() const

unsigned GetRecheckSecond() const

limited_size_map< string, CRef< CSlot > > TCacheMap

void SetObject(CSlot &slot, CObject *object) const

unsigned m_RecheckSeconds

CRef< CObject > GetObject(CSlot &slot) const

void Set(const string &acc_or_path, CRef< CSlot > slot)

unsigned m_ForceReopenSeconds

size_t get_size_limit() const

bool x_IsExpired(const string &acc_or_path, CSlot &slot) const

void operator=(const CVDBCacheWithExpiration &)=delete

CVDBCacheWithExpiration(const CVDBCacheWithExpiration &)=delete

CRef< CSlot > GetSlot(const string &acc_or_path)

unsigned GetForceReopenSecond() const

Include a standard set of the NCBI C++ Toolkit most basic headers.

CRef< C > Ref(C *object)

Helper functions to get CRef<> and CConstRef<> objects.

@ eInfinite

Infinite deadline.

#define NCBI_SRAREAD_EXPORT

Generic map with size limited by some number.

Multi-threading – mutexes; rw-locks; semaphore.

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.

Defines: CTimeFormat - storage class for time format.


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