Class GetTaskExecutorUsageSummaryByNodeCmd
java.lang.Object
com.flowable.platform.service.health.GetTaskExecutorUsageSummaryByNodeCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<List<NodeExecutorUsage>>
public class GetTaskExecutorUsageSummaryByNodeCmd
extends Object
implements org.flowable.common.engine.impl.interceptor.Command<List<NodeExecutorUsage>>
Returns one
NodeExecutorUsage row per (NODE_, EXECUTOR_NAME_) with both 10-minute
and 1-hour duration-weighted thread and queue usage percentages, computed in SQL via conditional
aggregation over the 1-hour window (the 10-minute values are a conditional subset of the same scan).-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final longprotected final longprotected final long -
Constructor Summary
ConstructorsConstructorDescriptionGetTaskExecutorUsageSummaryByNodeCmd(long timestampAfter1h, long timestampAfter10m, long timestampBefore) -
Method Summary
Modifier and TypeMethodDescriptionexecute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
Field Details
-
timestampAfter1h
protected final long timestampAfter1h -
timestampAfter10m
protected final long timestampAfter10m -
timestampBefore
protected final long timestampBefore
-
-
Constructor Details
-
GetTaskExecutorUsageSummaryByNodeCmd
public GetTaskExecutorUsageSummaryByNodeCmd(long timestampAfter1h, long timestampAfter10m, long timestampBefore)
-
-
Method Details
-
execute
public List<NodeExecutorUsage> execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executein interfaceorg.flowable.common.engine.impl.interceptor.Command<List<NodeExecutorUsage>>
-