There is a Java application which is writing records to a .dat file. Every time a particular type of record is written to the file, my application reads that record and processes it.
Now, I want the frequency of these type of records be throttled by a delay of15 seconds. Any records from TIG that are more frequent than this should be ignored.
Have any of you come across such a problem? Please help.