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 721 of file XrdClXRootDResponses.cc.

721  :
722  pImpl( new RetryInfoImpl( std::move( retries ) ) )
723  {
724 
725  }

◆ ~RetryInfo()

XrdCl::RetryInfo::~RetryInfo ( )

Destructor.

Definition at line 730 of file XrdClXRootDResponses.cc.

730 { }

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 752 of file XrdClXRootDResponses.cc.

753  {
754  return pImpl->retries[i];
755  }

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 735 of file XrdClXRootDResponses.cc.

736  {
737  return !pImpl->retries.empty();
738  }

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 743 of file XrdClXRootDResponses.cc.

744  {
745  return pImpl->retries.size();
746  }

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

+ Here is the caller graph for this function:

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