#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 | |||
) |
XrdClientReadCacheItem::~XrdClientReadCacheItem | ( | ) |
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.
void XrdClientReadCacheItem::Touch | ( | long long | ticksnow | ) | [inline] |
References fTimestampTicks.
long long XrdClientReadCacheItem::fBeginOffset [private] |
Referenced by BeginOffset(), ContainedInInterval(), ContainsInterval(), ContainsOffset(), GetInterval(), GetPartialInterval(), IntersectInterval(), and Size().
void* XrdClientReadCacheItem::fData [private] |
Referenced by GetData(), GetInterval(), and GetPartialInterval().
long long XrdClientReadCacheItem::fEndOffset [private] |
Referenced by ContainedInInterval(), ContainsInterval(), ContainsOffset(), EndOffset(), GetPartialInterval(), and Size().
bool XrdClientReadCacheItem::fIsPlaceholder [private] |
Referenced by IsPlaceholder().
long XrdClientReadCacheItem::fTimestampTicks [private] |
Referenced by GetTimestampTicks(), and Touch().