WRENCH
1.10
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
src
wrench
services
compute
batch
workload_helper_classes
WorkloadTraceFileReplayerEventReceiver.h
1
10
#ifndef WRENCH_ONEJOBWMS_H
11
#define WRENCH_ONEJOBWMS_H
12
13
#include "wrench/wms/WMS.h"
14
15
/***********************/
17
/***********************/
18
19
namespace
wrench
{
20
21
class
BatchComputeService;
22
27
class
WorkloadTraceFileReplayerEventReceiver
:
public
WMS
{
28
29
public
:
35
WorkloadTraceFileReplayerEventReceiver
(std::string hostname, std::shared_ptr<JobManager> job_manager) :
WMS
(
36
nullptr, nullptr,
37
{}, {},
38
{},
39
nullptr
, hostname,
40
"workload_trace_file_replayer_event_receiver"
),
41
job_manager(
42
job_manager) {}
43
44
int
main
()
override
;
45
46
private
:
47
std::string hostname;
48
std::shared_ptr<JobManager> job_manager;
49
};
50
51
};
52
53
/***********************/
55
/***********************/
56
57
#endif //WRENCH_ONEJOBWMS_H
wrench::WorkloadTraceFileReplayerEventReceiver::main
int main() override
main method of the OneJobWMS daemon
Definition:
WorkloadTraceFileReplayerEventReceiver.cpp:23
wrench::WorkloadTraceFileReplayerEventReceiver::WorkloadTraceFileReplayerEventReceiver
WorkloadTraceFileReplayerEventReceiver(std::string hostname, std::shared_ptr< JobManager > job_manager)
Constructor.
Definition:
WorkloadTraceFileReplayerEventReceiver.h:35
wrench
Definition:
Alarm.cpp:20
wrench::WorkloadTraceFileReplayerEventReceiver
A WMS that only submits a single job to a given batch service, which is used to implement batch workl...
Definition:
WorkloadTraceFileReplayerEventReceiver.h:27
wrench::WMS
A workflow management system (WMS)
Definition:
WMS.h:43