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

    Fields
    Modifier and Type
    Field
    Description
    private static final Logger
     

    Fields inherited from class com.scivicslab.pojoactor.core.ActorRef

    actorName, actorSystem, object
  • Constructor Summary

    Constructors
    Constructor
    Description
    GpuSummarySectionIIAR(String actorName, com.scivicslab.pojoactor.workflow.IIActorSystem system)
    Constructs the IIAR with a new POJO instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.scivicslab.pojoactor.core.ActionResult
     
    private long
    Retrieves session ID from nodeGroup actor.
    com.scivicslab.pojoactor.core.ActionResult
     
    private void
    Initializes the POJO with database connection and session ID.

    Methods inherited from class com.scivicslab.pojoactor.workflow.IIActorRef

    callByActionName, hasAnnotatedAction, invokeAnnotatedAction, parseFirstArgument

    Methods 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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 name
      system - the actor system
  • Method Details

    • initializeFromSystem

      private void initializeFromSystem()
      Initializes the POJO with database connection and session ID.
    • getSessionIdFromNodeGroup

      private long getSessionIdFromNodeGroup()
      Retrieves session ID from nodeGroup actor.
    • generate

      public com.scivicslab.pojoactor.core.ActionResult generate(String args)
    • getTitle

      public com.scivicslab.pojoactor.core.ActionResult getTitle(String args)