36#include "XrdSys/XrdSysHeaders.hh"
63 long long end_offs,
long long ticksnow,
64 bool placeholder=
false);
72 return ( (end_offs >= begin_offs) &&
79 return ( (end_offs > begin_offs) &&
98 inline bool GetInterval(
const void *buffer,
long long begin_offs,
103 end_offs - begin_offs + 1);
110 long long end_offs) {
112 long long b = -1,
e,
l;
114 if (begin_offs > end_offs)
return 0;
193 long long begin_offs);
207 long long end_offs,
bool PerfCalc,
215 long long &bytessubmitted,
222 long long &misscount,
228 long long &readreqcnt,
231 float &bytesusefulness
244 cout <<
"Low level caching info:" << endl;
245 cout <<
" StallsRate=" <<
fMissRate << endl;
246 cout <<
" StallsCount=" <<
fMissCount << endl;
260 long long end_offs,
bool pinned=
false);
263 void RemoveItems(
long long begin_offs,
long long end_offs,
bool remove_overlapped =
false);
276 void *
FindBlk(
long long begin_offs,
long long end_offs);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t bytes
XrdClientVector< XrdClientReadCacheItem * > ItemVect
XrdClientVector< XrdClientCacheInterval > XrdClientIntvList
#define XrdSysMutexHelper
long GetPartialInterval(const void *buffer, long long begin_offs, long long end_offs)
bool ContainsOffset(long long offs)
bool ContainsInterval(long long begin_offs, long long end_offs)
~XrdClientReadCacheItem()
bool IntersectInterval(long long begin_offs, long long end_offs)
XrdClientReadCacheItem(const void *buffer, long long begin_offs, long long end_offs, long long ticksnow, bool placeholder=false)
long long GetTimestampTicks()
bool GetInterval(const void *buffer, long long begin_offs, long long end_offs)
void Touch(long long ticksnow)
bool ContainedInInterval(long long begin_offs, long long end_offs)
int FindInsertionApprox_rec(int startidx, int endidx, long long begin_offs)
long long fTotalByteCount
void * FindBlk(long long begin_offs, long long end_offs)
void RemovePlaceholders()
int FindInsertionApprox(long long begin_offs)
long long fBytesSubmitted
bool WillFit(long long bc)
long long GetTotalByteCount()
bool MakeFreeSpace(long long bytes)
long long GetTimestampTick()
void UnPinCacheBlk(long long begin_offs, long long end_offs)
long long fTimestampTickCounter
void RemoveItems(long long begin_offs, long long end_offs, bool remove_overlapped=false)
void SetBlkRemovalPolicy(int p)
void GetInfo(int &size, long long &bytessubmitted, long long &byteshit, long long &misscount, float &missrate, long long &readreqcnt, float &bytesusefulness)
bool SubmitRawData(const void *buffer, long long begin_offs, long long end_offs, bool pinned=false)
void RemoveItems(bool leavepinned=true)
long GetDataIfPresent(const void *buffer, long long begin_offs, long long end_offs, bool PerfCalc, XrdClientIntvList &missingblks, long &outstandingblks)
void SubmitXMessage(XrdClientMessage *xmsg, long long begin_offs, long long end_offs)
void UpdatePerfCounters()
void PutPlaceholder(long long begin_offs, long long end_offs)