No ideas without seeing the code. Here is how I thought it could be done:
begin outer loop
get file to process
save starting time
begin inner loop
if (time used up) // duration =...
Type: Posts; User: Norm
No ideas without seeing the code. Here is how I thought it could be done:
begin outer loop
get file to process
save starting time
begin inner loop
if (time used up) // duration =...
One way would be in the method to save the starting time using: System.currentTimeMillis() and then test the time used at selected points in the method/loop by getting the current time and computing...