Public Member Functions | |
AnyPolicy (size_t size) | |
bool | Examine (const XrdCl::XRootDStatus &status) |
Private Attributes | |
std::atomic< size_t > | cnt |
`Any` policy implementation
Just one of the operations needs to succeed in order for the parallel operation to be successful.
XrdCl::ParallelOperation< HasHndl >::AnyPolicy::AnyPolicy | ( | size_t | size | ) | [inline] |
bool XrdCl::ParallelOperation< HasHndl >::AnyPolicy::Examine | ( | const XrdCl::XRootDStatus & | status | ) | [inline, virtual] |
Implements XrdCl::PolicyExecutor.
References XrdCl::ParallelOperation< HasHndl >::AnyPolicy::cnt, and XrdCl::Status::IsOK().
std::atomic<size_t> XrdCl::ParallelOperation< HasHndl >::AnyPolicy::cnt [private] |
Referenced by XrdCl::ParallelOperation< HasHndl >::AnyPolicy::Examine().