wrench::ServerlessReusableContainerSelectionPolicy
-
class ServerlessReusableContainerSelectionPolicy : public wrench::ServerlessSchedulingPolicy
An abstract class to implement a serverless reusable container selection policy.
Subclassed by wrench::ExpiringLatestReusableContainerSelectionPolicy
Public Functions
Method to selection a container to (re)use.
- Parameters:
scheduling_state – the scheduling state
invocation – the invocation to execute
candidate_nodes – the nodes that can be considered
- Returns:
a ServerlessComputeNode/Container pair