Class ThreadMonitorInOut

java.lang.Object
com.iohao.net.framework.core.flow.internal.ThreadMonitorInOut
All Implemented Interfaces:
ActionMethodInOut

public final class ThreadMonitorInOut extends Object implements ActionMethodInOut
PluginInOut - ThreadMonitorInOut - Business Thread Monitoring Plugin

for example

BarSkeletonBuilder builder = ...;
    // Business thread monitoring plugin, add the plugin to the business framework
    var threadMonitorInOut = new ThreadMonitorInOut();
    builder.addInOut(threadMonitorInOut);

Print preview

Business thread [RequestMessage-8-1] executed 1 business task in total, average time consumption 1 ms, 91 tasks remaining to be executed
Business thread [RequestMessage-8-2] executed 1 business task in total, average time consumption 1 ms, 0 tasks remaining to be executed
Business thread [RequestMessage-8-3] executed 1 business task in total, average time consumption 1 ms, 36 tasks remaining to be executed
Business thread [RequestMessage-8-4] executed 1 business task in total, average time consumption 1 ms, 0 tasks remaining to be executed
Business thread [RequestMessage-8-5] executed 1 business task in total, average time consumption 1 ms, 88 tasks remaining to be executed
Business thread [RequestMessage-8-6] executed 1 business task in total, average time consumption 1 ms, 0 tasks remaining to be executed
Business thread [RequestMessage-8-7] executed 7 business tasks in total, average time consumption 1 ms, 56 tasks remaining to be executed
Business thread [RequestMessage-8-8] executed 1 business task in total, average time consumption 1 ms, 0 tasks remaining to be executed
Author:
渔民小镇
date:
2023-11-22