wrench::HTCondorNegotiatorService

class HTCondorNegotiatorService : public wrench::Service

A HTCondor negotiator service.

Public Functions

HTCondorNegotiatorService(std::string &hostname, double startup_overhead, double grid_pre_overhead, double non_grid_pre_overhead, std::set<std::shared_ptr<ComputeService>> &compute_services, std::map<std::shared_ptr<CompoundJob>, std::shared_ptr<ComputeService>> &running_jobs, std::vector<std::tuple<std::shared_ptr<CompoundJob>, std::map<std::string, std::string>>> &pending_jobs, simgrid::s4u::Mailbox *reply_mailbox)

Constructor.

Parameters
  • hostname – the hostname on which to start the service

  • startup_overhead – a startup overhead, in seconds

  • grid_pre_overhead – a pre-job overhead for grid jobs, in seconds

  • non_grid_pre_overhead – a pre-job overhead for non-grid jobs, in seconds

  • compute_services – a set of ‘child’ compute services available to and via the HTCondor pool

  • running_jobs – a list of currently running jobs

  • pending_jobs – a list of pending jobs

  • reply_mailbox – the mailbox to which the “done/failed” message should be sent

~HTCondorNegotiatorService()

Destructor.