xrootd
|
Public Member Functions | |
SomePolicy (size_t size, size_t threshold) | |
bool | Examine (const XrdCl::XRootDStatus &status) |
XRootDStatus | Result () |
Public Member Functions inherited from XrdCl::PolicyExecutor | |
virtual | ~PolicyExecutor () |
Private Attributes | |
std::atomic< size_t > | failed |
std::atomic< size_t > | succeeded |
const size_t | threshold |
const size_t | size |
XRootDStatus | res |
Some
policy implementation
n (user defined) operations need to succeed in order for the parallel operation to be successful.
|
inline |
|
inlinevirtual |
Implements XrdCl::PolicyExecutor.
References XrdCl::ParallelOperation< HasHndl >::SomePolicy::failed, XrdCl::Status::IsOK(), XrdCl::ParallelOperation< HasHndl >::SomePolicy::res, XrdCl::ParallelOperation< HasHndl >::SomePolicy::size, XrdCl::ParallelOperation< HasHndl >::SomePolicy::succeeded, and XrdCl::ParallelOperation< HasHndl >::SomePolicy::threshold.
|
inlinevirtual |
Implements XrdCl::PolicyExecutor.
References XrdCl::ParallelOperation< HasHndl >::SomePolicy::res.
|
private |
Referenced by XrdCl::ParallelOperation< HasHndl >::SomePolicy::Examine().
|
private |
|
private |
Referenced by XrdCl::ParallelOperation< HasHndl >::SomePolicy::Examine().
|
private |
Referenced by XrdCl::ParallelOperation< HasHndl >::SomePolicy::Examine().
|
private |
Referenced by XrdCl::ParallelOperation< HasHndl >::SomePolicy::Examine().