A HTCondor negotiator service. More...
#include <HTCondorNegotiatorService.h>
Public Member Functions | |
HTCondorNegotiatorService (std::string &hostname, std::map< std::shared_ptr< ComputeService >, unsigned long > &compute_resources, std::map< std::shared_ptr< WorkflowJob >, std::shared_ptr< ComputeService >> &running_jobs, std::vector< std::tuple< std::shared_ptr< WorkflowJob >, std::map< std::string, std::string >>> &pending_jobs, std::string &reply_mailbox, std::shared_ptr< ComputeService > &grid_universe_batch_service) | |
Constructor. More... | |
~HTCondorNegotiatorService () | |
Destructor. | |
Public Member Functions inherited from wrench::Service | |
void | assertServiceIsUp () |
Throws an exception if the service is not up. More... | |
std::string | getHostname () |
Get the name of the host on which the service is / will be running. More... | |
double | getNetworkTimeoutValue () |
Returns the service's network timeout value. More... | |
bool | getPropertyValueAsBoolean (std::string) |
Get a property of the Service as a boolean. More... | |
double | getPropertyValueAsDouble (std::string) |
Get a property of the Service as a double. More... | |
std::string | getPropertyValueAsString (std::string) |
Get a property of the Service as a string. More... | |
unsigned long | getPropertyValueAsUnsignedLong (std::string) |
Get a property of the Service as an unsigned long. More... | |
bool | isUp () |
Returns true if the service is UP, false otherwise. More... | |
void | resume () |
Resume the service. More... | |
void | setNetworkTimeoutValue (double value) |
Sets the service's network timeout value. More... | |
void | start (std::shared_ptr< Service > this_service, bool daemonize, bool auto_restart) |
Start the service. More... | |
virtual void | stop () |
Synchronously stop the service (does nothing if the service is already stopped) More... | |
void | suspend () |
Suspend the service. | |
Detailed Description
A HTCondor negotiator service.
Constructor & Destructor Documentation
◆ HTCondorNegotiatorService()
wrench::HTCondorNegotiatorService::HTCondorNegotiatorService | ( | std::string & | hostname, |
std::map< std::shared_ptr< ComputeService >, unsigned long > & | compute_resources, | ||
std::map< std::shared_ptr< WorkflowJob >, std::shared_ptr< ComputeService >> & | running_jobs, | ||
std::vector< std::tuple< std::shared_ptr< WorkflowJob >, std::map< std::string, std::string >>> & | pending_jobs, | ||
std::string & | reply_mailbox, | ||
std::shared_ptr< ComputeService > & | grid_universe_batch_service | ||
) |
Constructor.
- Parameters
-
hostname the hostname on which to start the service compute_resources a set of compute resources available via the HTCondor pool running_jobs pending_jobs a list of pending jobs reply_mailbox the mailbox to which the "done/failed" message should be sent
The documentation for this class was generated from the following files:
- HTCondorNegotiatorService.h
- HTCondorNegotiatorService.cpp