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
Handler for GET_ALL use case.
Returns a complete SystemMetrics snapshot.
-
Field Summary
Fields inherited from class com.guinetik.hexafun.hexa.UseCaseHandler
app -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApply the use case logic to the input and produce an output.Methods inherited from class com.guinetik.hexafun.hexa.UseCaseHandler
hasPort, port
-
Constructor Details
-
GetAllMetricsHandler
-
-
Method Details
-
apply
Description copied from interface:UseCaseApply the use case logic to the input and produce an output.- Parameters:
input- The input to process- Returns:
- The result of the use case
-