XrdCl::ParallelOperation< HasHndl >::SomePolicy Struct Reference

Inheritance diagram for XrdCl::ParallelOperation< HasHndl >::SomePolicy:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::ParallelOperation< HasHndl >::SomePolicy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SomePolicy (size_t size, size_t threshold)
bool Examine (const XrdCl::XRootDStatus &status)

Private Attributes

std::atomic< size_t > cnt
std::atomic< size_t > succeeded
const size_t threshold

Detailed Description

template<bool HasHndl>
struct XrdCl::ParallelOperation< HasHndl >::SomePolicy

`Some` policy implementation

n (user defined) operations need to succeed in order for the parallel operation to be successful.


Constructor & Destructor Documentation

template<bool HasHndl>
XrdCl::ParallelOperation< HasHndl >::SomePolicy::SomePolicy ( size_t  size,
size_t  threshold 
) [inline]

Member Function Documentation

template<bool HasHndl>
bool XrdCl::ParallelOperation< HasHndl >::SomePolicy::Examine ( const XrdCl::XRootDStatus status  )  [inline, virtual]

Member Data Documentation

template<bool HasHndl>
std::atomic<size_t> XrdCl::ParallelOperation< HasHndl >::SomePolicy::cnt [private]
template<bool HasHndl>
std::atomic<size_t> XrdCl::ParallelOperation< HasHndl >::SomePolicy::succeeded [private]
template<bool HasHndl>
const size_t XrdCl::ParallelOperation< HasHndl >::SomePolicy::threshold [private]

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 7 Jul 2020 for xrootd by  doxygen 1.6.1