Apache Mesos
|
Represents a resource conversion, usually as a result of an offer operation. More...
#include <resources.hpp>
Public Types | |
typedef lambda::function< Try< Nothing >const Resources &)> | PostValidation |
Public Member Functions | |
ResourceConversion (const Resources &_consumed, const Resources &_converted, const Option< PostValidation > &_postValidation=None()) | |
Try< Resources > | apply (const Resources &resources) const |
Public Attributes | |
Resources | consumed |
Resources | converted |
Option< PostValidation > | postValidation |
Represents a resource conversion, usually as a result of an offer operation.
See more details in Resources::apply
method.
typedef lambda::function<Try<Nothing>const Resources&)> mesos::ResourceConversion::PostValidation |
|
inline |
Resources mesos::ResourceConversion::consumed |
Resources mesos::ResourceConversion::converted |
Option<PostValidation> mesos::ResourceConversion::postValidation |