Class GpuSummarySectionIIAR
java.lang.Object
com.scivicslab.pojoactor.core.ActorRef<GpuSummarySection>
com.scivicslab.pojoactor.workflow.IIActorRef<GpuSummarySection>
com.scivicslab.actoriac.report.sections.basic.GpuSummarySectionIIAR
- All Implemented Interfaces:
com.scivicslab.pojoactor.core.CallableByActionName, AutoCloseable
public class GpuSummarySectionIIAR
extends com.scivicslab.pojoactor.workflow.IIActorRef<GpuSummarySection>
IIAR wrapper for
GpuSummarySection.
Exposes the POJO's methods as actions via @Action annotations.
Handles database connection and session ID retrieval from the system.
Usage in workflow YAML:
- actor: loader
method: createChild
arguments: ["reportBuilder", "gpuSummary", "...GpuSummarySectionIIAR"]
GPU information is collected from workflow logs that contain GPU INFO markers. The workflow must first collect GPU information using a sub-workflow that outputs nvidia-smi or ROCm data.
- Since:
- 2.16.0
- Author:
- devteam@scivicslab.com
-
Field Summary
FieldsFields inherited from class com.scivicslab.pojoactor.core.ActorRef
actorName, actorSystem, object -
Constructor Summary
ConstructorsConstructorDescriptionGpuSummarySectionIIAR(String actorName, com.scivicslab.pojoactor.workflow.IIActorSystem system) Constructs the IIAR with a new POJO instance. -
Method Summary
Modifier and TypeMethodDescriptioncom.scivicslab.pojoactor.core.ActionResultprivate longRetrieves session ID from nodeGroup actor.com.scivicslab.pojoactor.core.ActionResultprivate voidInitializes the POJO with database connection and session ID.Methods inherited from class com.scivicslab.pojoactor.workflow.IIActorRef
callByActionName, hasAnnotatedAction, invokeAnnotatedAction, parseFirstArgumentMethods inherited from class com.scivicslab.pojoactor.core.ActorRef
ask, ask, askNow, clearJsonState, clearPendingMessages, close, createChild, expandVariables, getJsonBoolean, getJsonInt, getJsonString, getJsonString, getLastResult, getName, getNamesOfChildren, getParentName, hasJson, hasJsonState, initLogger, isAlive, json, putJson, setLastResult, setParentName, system, tell, tell, tellNow, toStringOfJson, toStringOfYaml
-
Field Details
-
logger
-
-
Constructor Details
-
GpuSummarySectionIIAR
public GpuSummarySectionIIAR(String actorName, com.scivicslab.pojoactor.workflow.IIActorSystem system) Constructs the IIAR with a new POJO instance.- Parameters:
actorName- the actor namesystem- the actor system
-
-
Method Details
-
initializeFromSystem
Initializes the POJO with database connection and session ID. -
getSessionIdFromNodeGroup
Retrieves session ID from nodeGroup actor. -
generate
-
getTitle
-