13- Wave scene

1, the new thread, and add the configuration element, the Listener

 

start threads count the number of threads

initial delay, sec initialization time

startup time, sec start time

hold loadfor, sec uptime

End common time shutdown time

-------------------------------------------------- The default time: s

 

 

Difficulties wavy scene design: each thread running interval;

          The next set of threads must run to start all over after a set of threads running on time; (that is, after the total time)

 

 

 

2, action: time generally used for regular system or interface (e.g. punch fixed time every day, log ......)

     Authentication server resources (memory) timely recovery.

Guess you like

Origin www.cnblogs.com/QiKa/p/12114976.html