|
xrootd
|
#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 |
| XrdClientReadCacheItem::XrdClientReadCacheItem | ( | const void * | buffer, |
| long long | begin_offs, | ||
| long long | end_offs, | ||
| long long | ticksnow, | ||
| bool | placeholder = false |
||
| ) |
References fBeginOffset, fData, fEndOffset, fIsPlaceholder, Pinned, and Touch().
| XrdClientReadCacheItem::~XrdClientReadCacheItem | ( | ) |
References fData.
| long long XrdClientReadCacheItem::BeginOffset | ( | ) | [inline] |
References fBeginOffset.
| bool XrdClientReadCacheItem::ContainedInInterval | ( | long long | begin_offs, |
| long long | end_offs | ||
| ) | [inline] |
References fBeginOffset, and fEndOffset.
| bool XrdClientReadCacheItem::ContainsInterval | ( | long long | begin_offs, |
| long long | end_offs | ||
| ) | [inline] |
References fBeginOffset, and fEndOffset.
Referenced by GetInterval().
| bool XrdClientReadCacheItem::ContainsOffset | ( | long long | offs | ) | [inline] |
References fBeginOffset, and fEndOffset.
Referenced by IntersectInterval().
| long long XrdClientReadCacheItem::EndOffset | ( | ) | [inline] |
References fEndOffset.
| void* XrdClientReadCacheItem::GetData | ( | ) | [inline] |
References fData.
| bool XrdClientReadCacheItem::GetInterval | ( | const void * | buffer, |
| long long | begin_offs, | ||
| long long | end_offs | ||
| ) | [inline] |
References ContainsInterval(), FALSE, fBeginOffset, fData, and TRUE.
| long XrdClientReadCacheItem::GetPartialInterval | ( | const void * | buffer, |
| long long | begin_offs, | ||
| long long | end_offs | ||
| ) | [inline] |
References fBeginOffset, fData, fEndOffset, and xrdmin.
| long long XrdClientReadCacheItem::GetTimestampTicks | ( | ) | [inline] |
References fTimestampTicks.
| bool XrdClientReadCacheItem::IntersectInterval | ( | long long | begin_offs, |
| long long | end_offs | ||
| ) | [inline] |
References ContainsOffset(), and fBeginOffset.
| bool XrdClientReadCacheItem::IsPlaceholder | ( | ) | [inline] |
References fIsPlaceholder.
| long XrdClientReadCacheItem::Size | ( | ) | [inline] |
References fBeginOffset, and fEndOffset.
Referenced by XrdClientReadCache::RemoveFirstItem(), XrdClientReadCache::RemoveLRUItem(), and XrdClientReadCache::SubmitRawData().
| void XrdClientReadCacheItem::Touch | ( | long long | ticksnow | ) | [inline] |
References fTimestampTicks.
Referenced by XrdClientReadCacheItem().
long long XrdClientReadCacheItem::fBeginOffset [private] |
void* XrdClientReadCacheItem::fData [private] |
Referenced by GetData(), GetInterval(), GetPartialInterval(), XrdClientReadCacheItem(), and ~XrdClientReadCacheItem().
long long XrdClientReadCacheItem::fEndOffset [private] |
Referenced by ContainedInInterval(), ContainsInterval(), ContainsOffset(), EndOffset(), GetPartialInterval(), Size(), and XrdClientReadCacheItem().
bool XrdClientReadCacheItem::fIsPlaceholder [private] |
Referenced by IsPlaceholder(), and XrdClientReadCacheItem().
long XrdClientReadCacheItem::fTimestampTicks [private] |
Referenced by GetTimestampTicks(), and Touch().
Referenced by XrdClientReadCache::SubmitRawData(), and XrdClientReadCacheItem().
1.7.3