Class SysmonHandlers.GetCpuHandler

java.lang.Object
com.guinetik.hexafun.hexa.UseCaseHandler<Void,Double>
com.guinetik.hexafun.examples.sysmon.SysmonHandlers.GetCpuHandler
All Implemented Interfaces:
UseCase<Void,Double>
Enclosing class:
SysmonHandlers

public static class SysmonHandlers.GetCpuHandler extends UseCaseHandler<Void,Double>
Handler for GET_CPU use case.
  • Constructor Details

    • GetCpuHandler

      public GetCpuHandler(HexaApp app)
  • Method Details

    • apply

      public Double apply(Void input)
      Description copied from interface: UseCase
      Apply the use case logic to the input and produce an output.
      Parameters:
      input - The input to process
      Returns:
      The result of the use case