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


Detailed Description

Definition at line 32 of file XrdClientReadCache.hh.


Constructor & Destructor Documentation

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 39 of file XrdClientReadCache.cc.

References fData, and free().


Member Function Documentation

long long XrdClientReadCacheItem::BeginOffset (  )  [inline]

Definition at line 48 of file XrdClientReadCache.hh.

References fBeginOffset.

long long XrdClientReadCacheItem::EndOffset (  )  [inline]

Definition at line 49 of file XrdClientReadCache.hh.

References fEndOffset.

bool XrdClientReadCacheItem::ContainedInInterval ( long long  begin_offs,
long long  end_offs 
) [inline]

Definition at line 52 of file XrdClientReadCache.hh.

References fBeginOffset, and fEndOffset.

bool XrdClientReadCacheItem::ContainsInterval ( long long  begin_offs,
long long  end_offs 
) [inline]

Definition at line 59 of file XrdClientReadCache.hh.

References fBeginOffset, and fEndOffset.

Referenced by GetInterval().

bool XrdClientReadCacheItem::IntersectInterval ( long long  begin_offs,
long long  end_offs 
) [inline]

Definition at line 65 of file XrdClientReadCache.hh.

References ContainsOffset(), and fBeginOffset.

bool XrdClientReadCacheItem::ContainsOffset ( long long  offs  )  [inline]

Definition at line 72 of file XrdClientReadCache.hh.

References fBeginOffset, and fEndOffset.

Referenced by IntersectInterval().

void* XrdClientReadCacheItem::GetData (  )  [inline]

Definition at line 76 of file XrdClientReadCache.hh.

References fData.

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.

long long XrdClientReadCacheItem::GetTimestampTicks (  )  [inline]

Definition at line 115 of file XrdClientReadCache.hh.

References fTimestampTicks.

bool XrdClientReadCacheItem::IsPlaceholder (  )  [inline]

Definition at line 117 of file XrdClientReadCache.hh.

References fIsPlaceholder.

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().

void XrdClientReadCacheItem::Touch ( long long  ticksnow  )  [inline]

Definition at line 121 of file XrdClientReadCache.hh.

References fTimestampTicks.

Referenced by XrdClientReadCacheItem().


Member Data Documentation

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().

bool XrdClientReadCacheItem::Pinned

Definition at line 123 of file XrdClientReadCache.hh.

Referenced by XrdClientReadCache::SubmitRawData(), and XrdClientReadCacheItem().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:18 2011 for ROOT_528-00b_version by  doxygen 1.5.1