I have a trouble with some UI output.Here is the requirement below:
1.The program will use the DOS as UI.
2.The program will execute some important job with a background thead,alos it must provide the monitor function by displaying some information about the transaction every several minutes.
There are *** records in souce database There are *** records have been inserted to the destination database There are *** records have been failed to insert to the destination There are *** records remain in source database
All the inforamtion above must be refreshed in every 5 minutes.
So far as I know, I could use thread to get the real information from some other class,but the most troublesome job is that :
How can I refresh the information, not "append" ! just refresh the output!