By doing so, Processable becomes responsible on controlling the flow of the event (onPause, onKill, onResume, onCompletion) and process_objective becomes responsible for defining the relevant resources usage (objectives, static, dynamic, min/max usage etc).
Renaming process_objective to process_resources (or Resourceable) could make some sense too.
By doing so,
Processable
becomes responsible on controlling the flow of the event (onPause
,onKill
,onResume
,onCompletion
) andprocess_objective
becomes responsible for defining the relevant resources usage (objectives, static, dynamic, min/max usage etc).Renaming
process_objective
toprocess_resources
(orResourceable
) could make some sense too.