Research and Design of Java Timing Processing Method
Abstract There are differences among programming languages. In contrast to C/C++ in Linux, standard Java timer has some issues, such as uncontrollable execution order, unpredictable start moment and running duration, when it’s applied to handle dense timing tasks. So it could not be directly used by some military applications with strict requirements on time sequence. In this paper, its root cause is analyzed, and then an improved method based on queue and delay feedback is presented, as well as its implementation flow chart. The test results show that, this method is able to not only ensure the correct execution order, but also reduce the uncontrollable delay. So it could satisfy the time sequence demand of military applications.