wrench::HTCondorNegotiatorService Class Reference

A HTCondor negotiator service. More...

#include <HTCondorNegotiatorService.h>

Inheritance diagram for wrench::HTCondorNegotiatorService:
wrench::Service

Public Member Functions

 HTCondorNegotiatorService (std::string &hostname, std::map< std::shared_ptr< ComputeService >, unsigned long > &compute_resources, std::map< WorkflowJob *, std::shared_ptr< ComputeService >> &running_jobs, std::vector< std::tuple< WorkflowJob *, std::map< std::string, std::string >>> &pending_jobs, std::string &reply_mailbox)
 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< WorkflowJob *, std::shared_ptr< ComputeService >> &  running_jobs,
std::vector< std::tuple< WorkflowJob *, std::map< std::string, std::string >>> &  pending_jobs,
std::string &  reply_mailbox 
)

Constructor.

Parameters
hostnamethe hostname on which to start the service
compute_resourcesa set of compute resources available via the HTCondor pool
running_jobs
pending_jobsa list of pending jobs
reply_mailboxthe mailbox to which the "done/failed" message should be sent

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