Apache Mesos
Public Member Functions | Public Attributes | List of all members
mesos::internal::slave::ResourceProvider Struct Reference

#include <slave.hpp>

Public Member Functions

 ResourceProvider (const ResourceProviderInfo &_info, const Resources &_totalResources, const Option< UUID > &_resourceVersion)
 
void addOperation (Operation *operation)
 
void removeOperation (Operation *operation)
 

Public Attributes

ResourceProviderInfo info
 
Resources totalResources
 
Option< UUID > resourceVersion
 
hashmap< UUID, Operation * > operations
 

Constructor & Destructor Documentation

mesos::internal::slave::ResourceProvider::ResourceProvider ( const ResourceProviderInfo &  _info,
const Resources _totalResources,
const Option< UUID > &  _resourceVersion 
)
inline

Member Function Documentation

void mesos::internal::slave::ResourceProvider::addOperation ( Operation *  operation)
void mesos::internal::slave::ResourceProvider::removeOperation ( Operation *  operation)

Member Data Documentation

ResourceProviderInfo mesos::internal::slave::ResourceProvider::info
hashmap<UUID, Operation*> mesos::internal::slave::ResourceProvider::operations
Option<UUID> mesos::internal::slave::ResourceProvider::resourceVersion
Resources mesos::internal::slave::ResourceProvider::totalResources

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