XrdClientReadCacheItem Class Reference

#include <XrdClientReadCache.hh>

List of all members.

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

Constructor & Destructor Documentation

XrdClientReadCacheItem::XrdClientReadCacheItem ( const void *  buffer,
long long  begin_offs,
long long  end_offs,
long long  ticksnow,
bool  placeholder = false 
)
XrdClientReadCacheItem::~XrdClientReadCacheItem (  ) 

Member Function Documentation

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]
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.


Member Data Documentation

Referenced by IsPlaceholder().

Referenced by GetTimestampTicks(), and Touch().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 30 Sep 2019 for xrootd by  doxygen 1.6.1