wrench::ServerlessComputeService
-
class ServerlessComputeService : public wrench::ComputeService
A serverless compute service that manages a set of compute hosts and controls access to their resource via function registration/invocation operations.
Public Functions
Constructor.
- Parameters:
hostname – name of the head host on which the service runs
head_node_storage_mount_point – the mount point of storage at the head host (where images will be stored)
compute_hosts – list of (homogeneous) compute node hostnames
scheduler – the scheduler used to decide which invocations should be executed and when
property_list – a property list ({} means “use all defaults”)
messagepayload_list – a message payload list ({} means “use all defaults”)
-
bool supportsCompoundJobs() override
Returns true if the service supports compound jobs.
- Returns:
true or false
-
bool supportsFunctions() override
Returns true if the service supports functions.
- Returns:
true or false
-
bool supportsPilotJobs() override
Returns true if the service supports pilot jobs.
- Returns:
true or false
-
bool supportsStandardJobs() override
Returns true if the service supports standard jobs.
- Returns:
true or false