XRootD
XrdCl::RetryInfo Struct Reference

#include <XrdClXRootDResponses.hh>

+ Collaboration diagram for XrdCl::RetryInfo:

Public Member Functions

 RetryInfo (std::vector< std::tuple< uint64_t, uint32_t >> &&retries)
 Constructor. More...
 
 ~RetryInfo ()
 Destructor. More...
 
std::tuple< uint64_t, uint32_t > At (size_t i)
 
bool NeedRetry ()
 
size_t Size ()
 

Detailed Description

Definition at line 1018 of file XrdClXRootDResponses.hh.

Constructor & Destructor Documentation

◆ RetryInfo()

XrdCl::RetryInfo::RetryInfo ( std::vector< std::tuple< uint64_t, uint32_t >> &&  retries)

Constructor.

Definition at line 715 of file XrdClXRootDResponses.cc.

715  :
716  pImpl( new RetryInfoImpl( std::move( retries ) ) )
717  {
718 
719  }

◆ ~RetryInfo()

XrdCl::RetryInfo::~RetryInfo ( )

Destructor.

Definition at line 724 of file XrdClXRootDResponses.cc.

724 { }

Member Function Documentation

◆ At()

std::tuple< uint64_t, uint32_t > XrdCl::RetryInfo::At ( size_t  i)
Returns
: offset and size of respective page that requires to be

Definition at line 746 of file XrdClXRootDResponses.cc.

747  {
748  return pImpl->retries[i];
749  }

Referenced by XrdCl::FileStateHandler::PgWrite().

+ Here is the caller graph for this function:

◆ NeedRetry()

bool XrdCl::RetryInfo::NeedRetry ( )
Returns
: true if some pages need retrying, false otherwise

Definition at line 729 of file XrdClXRootDResponses.cc.

730  {
731  return !pImpl->retries.empty();
732  }

Referenced by XrdCl::FileStateHandler::PgWrite().

+ Here is the caller graph for this function:

◆ Size()

size_t XrdCl::RetryInfo::Size ( )
Returns
number of pages that need to be retransmitted

Definition at line 737 of file XrdClXRootDResponses.cc.

738  {
739  return pImpl->retries.size();
740  }

Referenced by XrdCl::FileStateHandler::PgWrite().

+ Here is the caller graph for this function:

The documentation for this struct was generated from the following files: