#include <XrdClientReadCache.hh>
Public Member Functions | |
| XrdClientReadCacheItem (const void *buffer, long long begin_offs, long long end_offs, long long ticksnow, bool placeholder=false) | |
| ~XrdClientReadCacheItem () | |
| long long | BeginOffset () |
| long long | EndOffset () |
| bool | ContainedInInterval (long long begin_offs, long long end_offs) |
| bool | ContainsInterval (long long begin_offs, long long end_offs) |
| bool | IntersectInterval (long long begin_offs, long long end_offs) |
| bool | ContainsOffset (long long offs) |
| void * | GetData () |
| bool | GetInterval (const void *buffer, long long begin_offs, long long end_offs) |
| long | GetPartialInterval (const void *buffer, long long begin_offs, long long end_offs) |
| long long | GetTimestampTicks () |
| bool | IsPlaceholder () |
| long | Size () |
| void | Touch (long long ticksnow) |
Public Attributes | |
| bool | Pinned |
Private Attributes | |
| bool | fIsPlaceholder |
| long long | fBeginOffset |
| void * | fData |
| long long | fEndOffset |
| long | fTimestampTicks |
Definition at line 32 of file XrdClientReadCache.hh.
| XrdClientReadCacheItem::XrdClientReadCacheItem | ( | const void * | buffer, | |
| long long | begin_offs, | |||
| long long | end_offs, | |||
| long long | ticksnow, | |||
| bool | placeholder = false | |||
| ) |
Definition at line 22 of file XrdClientReadCache.cc.
References fBeginOffset, fData, fEndOffset, fIsPlaceholder, Pinned, and Touch().
| XrdClientReadCacheItem::~XrdClientReadCacheItem | ( | ) |
Definition at line 59 of file XrdClientReadCache.hh.
References fBeginOffset, and fEndOffset.
Referenced by GetInterval().
Definition at line 72 of file XrdClientReadCache.hh.
References fBeginOffset, and fEndOffset.
Referenced by IntersectInterval().
| void* XrdClientReadCacheItem::GetData | ( | ) | [inline] |
| bool XrdClientReadCacheItem::GetInterval | ( | const void * | buffer, | |
| long long | begin_offs, | |||
| long long | end_offs | |||
| ) | [inline] |
Definition at line 79 of file XrdClientReadCache.hh.
References ContainsInterval(), FALSE, fBeginOffset, fData, and TRUE.
| long XrdClientReadCacheItem::GetPartialInterval | ( | const void * | buffer, | |
| long long | begin_offs, | |||
| long long | end_offs | |||
| ) | [inline] |
Definition at line 90 of file XrdClientReadCache.hh.
References b, fBeginOffset, fData, fEndOffset, l, and xrdmin.
| bool XrdClientReadCacheItem::IsPlaceholder | ( | ) | [inline] |
| long XrdClientReadCacheItem::Size | ( | ) | [inline] |
Definition at line 119 of file XrdClientReadCache.hh.
References fBeginOffset, and fEndOffset.
Referenced by XrdClientReadCache::RemoveFirstItem(), XrdClientReadCache::RemoveLRUItem(), and XrdClientReadCache::SubmitRawData().
Definition at line 121 of file XrdClientReadCache.hh.
References fTimestampTicks.
Referenced by XrdClientReadCacheItem().
bool XrdClientReadCacheItem::fIsPlaceholder [private] |
Definition at line 35 of file XrdClientReadCache.hh.
Referenced by IsPlaceholder(), and XrdClientReadCacheItem().
long long XrdClientReadCacheItem::fBeginOffset [private] |
Definition at line 37 of file XrdClientReadCache.hh.
Referenced by BeginOffset(), ContainedInInterval(), ContainsInterval(), ContainsOffset(), GetInterval(), GetPartialInterval(), IntersectInterval(), Size(), and XrdClientReadCacheItem().
void* XrdClientReadCacheItem::fData [private] |
Definition at line 38 of file XrdClientReadCache.hh.
Referenced by GetData(), GetInterval(), GetPartialInterval(), XrdClientReadCacheItem(), and ~XrdClientReadCacheItem().
long long XrdClientReadCacheItem::fEndOffset [private] |
Definition at line 39 of file XrdClientReadCache.hh.
Referenced by ContainedInInterval(), ContainsInterval(), ContainsOffset(), EndOffset(), GetPartialInterval(), Size(), and XrdClientReadCacheItem().
long XrdClientReadCacheItem::fTimestampTicks [private] |
Definition at line 40 of file XrdClientReadCache.hh.
Referenced by GetTimestampTicks(), and Touch().
Definition at line 123 of file XrdClientReadCache.hh.
Referenced by XrdClientReadCache::SubmitRawData(), and XrdClientReadCacheItem().
1.5.1