Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::jd3::deallocation::DeallocationMessage Class Reference

DeallocationMessage class provides an opportunity for one JobQueen to communicate with a remote JobQueen in a parallelization-independent fashion – that is, the parallel JobDistributor (be it MPI, or perhaps Hadoop) is responsible for delivering the DeallocationMessages to the remote JobQueens. In particular, they serve the role of allowing a JobQueen to deallocate resources that are no longer needed. As of the time this class was dreamed up, the JobDistributor makes no guarantee about the regularity with which it queries the JobQueen on the head node for DeallocationMessages, and the communication of DeallocationMessages is uni-directional: this system is not designed to let JobQueens on freely communicate between themselves, though, such a system would obviously have its merits. More...

#include <DeallocationMessage.hh>

Inheritance diagram for protocols::jd3::deallocation::DeallocationMessage:
Inheritance graph
[legend]

Public Member Functions

 DeallocationMessage ()
 
 DeallocationMessage (deallocation_msg_type msg_type)
 
 ~DeallocationMessage () override
 
deallocation_msg_type deallocation_type () const
 
void deallocation_type (deallocation_msg_type setting)
 

Private Attributes

deallocation_msg_type type_
 

Detailed Description

DeallocationMessage class provides an opportunity for one JobQueen to communicate with a remote JobQueen in a parallelization-independent fashion – that is, the parallel JobDistributor (be it MPI, or perhaps Hadoop) is responsible for delivering the DeallocationMessages to the remote JobQueens. In particular, they serve the role of allowing a JobQueen to deallocate resources that are no longer needed. As of the time this class was dreamed up, the JobDistributor makes no guarantee about the regularity with which it queries the JobQueen on the head node for DeallocationMessages, and the communication of DeallocationMessages is uni-directional: this system is not designed to let JobQueens on freely communicate between themselves, though, such a system would obviously have its merits.

Constructor & Destructor Documentation

protocols::jd3::deallocation::DeallocationMessage::DeallocationMessage ( )
protocols::jd3::deallocation::DeallocationMessage::DeallocationMessage ( deallocation_msg_type  msg_type)
protocols::jd3::deallocation::DeallocationMessage::~DeallocationMessage ( )
overridedefault

Member Function Documentation

deallocation_msg_type protocols::jd3::deallocation::DeallocationMessage::deallocation_type ( ) const

References type_.

void protocols::jd3::deallocation::DeallocationMessage::deallocation_type ( deallocation_msg_type  setting)

References type_.

Member Data Documentation

deallocation_msg_type protocols::jd3::deallocation::DeallocationMessage::type_
private

Referenced by deallocation_type().


The documentation for this class was generated from the following files: