xrootd
Public Member Functions | Protected Attributes | List of all members
XrdClientReadAhead_slidingavg Class Reference
Inheritance diagram for XrdClientReadAhead_slidingavg:
Inheritance graph
[legend]
Collaboration diagram for XrdClientReadAhead_slidingavg:
Collaboration graph
[legend]

Public Member Functions

 XrdClientReadAhead_slidingavg ()
 
virtual int GetReadAheadHint (long long offset, long len, long long &raoffset, long &ralen, long blksz)
 
virtual int Reset ()
 
- Public Member Functions inherited from XrdClientReadAheadMgr
 XrdClientReadAheadMgr ()
 
virtual ~XrdClientReadAheadMgr ()
 
virtual void SetRASize (long bytes)
 
XrdClient_RAStrategy GetCurrentStrategy ()
 

Protected Attributes

long long RALast
 
long long LastOffsSum
 
long long LastOffsSum2
 
long long LastOffsSumsq
 
long long LastOffsSumsq2
 
XrdClientVector< long long > LastOffs
 
XrdClientVector< long long > LastAvgApprox
 
XrdClientVector< long long > LastAvgApprox2
 
- Protected Attributes inherited from XrdClientReadAheadMgr
long RASize
 
XrdClient_RAStrategy currstrategy
 

Additional Inherited Members

- Public Types inherited from XrdClientReadAheadMgr
enum  XrdClient_RAStrategy { RAStr_none, RAStr_pureseq, RAStr_SlidingAvg }
 
- Static Public Member Functions inherited from XrdClientReadAheadMgr
static XrdClientReadAheadMgrCreateReadAheadMgr (XrdClient_RAStrategy strategy)
 
static bool TrimReadRequest (long long &offs, long &len, long rasize, long blksize)
 

Constructor & Destructor Documentation

XrdClientReadAhead_slidingavg::XrdClientReadAhead_slidingavg ( )
inline

Member Function Documentation

int XrdClientReadAhead_slidingavg::GetReadAheadHint ( long long  offset,
long  len,
long long &  raoffset,
long &  ralen,
long  blksz 
)
virtual
virtual int XrdClientReadAhead_slidingavg::Reset ( )
inlinevirtual

Member Data Documentation

XrdClientVector<long long> XrdClientReadAhead_slidingavg::LastAvgApprox
protected

Referenced by GetReadAheadHint().

XrdClientVector<long long> XrdClientReadAhead_slidingavg::LastAvgApprox2
protected

Referenced by GetReadAheadHint().

XrdClientVector<long long> XrdClientReadAhead_slidingavg::LastOffs
protected

Referenced by GetReadAheadHint().

long long XrdClientReadAhead_slidingavg::LastOffsSum
protected
long long XrdClientReadAhead_slidingavg::LastOffsSum2
protected
long long XrdClientReadAhead_slidingavg::LastOffsSumsq
protected
long long XrdClientReadAhead_slidingavg::LastOffsSumsq2
protected
long long XrdClientReadAhead_slidingavg::RALast
protected

The documentation for this class was generated from the following file: