Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

GenericJob

Mircea Anton edited this page Feb 12, 2021 · 1 revision

Generic Job

A GenericJob is an abstract class that is implemented by any class that we want to monitor in terms of execution time and performance.

Description

What this class provides is a unique identifier for each job, generated via Math.random() and a duration. As such, each GenericJob will be easily identifiable and will have the execution time monitored.
The actual method by which the duration gets calculated is further implemented in subsequent nodes in the inheritance hierarchy.

Classes that extend GenericJob

Clone this wiki locally