Class SysmonHandlers.GetAllMetricsHandler

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

public static class SysmonHandlers.GetAllMetricsHandler extends UseCaseHandler<Void,SystemMetrics>
Handler for GET_ALL use case.

Returns a complete SystemMetrics snapshot.

  • Constructor Details

    • GetAllMetricsHandler

      public GetAllMetricsHandler(HexaApp app)
  • Method Details

    • apply

      public SystemMetrics 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