I am planning to add a clock on my program....
My idea is to implement it using ExecutorService ....
Im planning also to have a new Runnable...
That will update the Clock and execute it from ExecutorService ....
Im not sure of my plans as of now....
Is this possible?
If it is, will the performance of my program slows down?
Because, i think that updating the clock is to have a reasonable infinite loop with a minimum delay time interval....
Can you advice me experts about this?
Any algorithm?
Waiting for your replies,
sukatoa....
My idea is to implement it using ExecutorService ....
Im planning also to have a new Runnable...
That will update the Clock and execute it from ExecutorService ....
Im not sure of my plans as of now....
Is this possible?
If it is, will the performance of my program slows down?
Because, i think that updating the clock is to have a reasonable infinite loop with a minimum delay time interval....
Can you advice me experts about this?
Any algorithm?
Waiting for your replies,
sukatoa....
Comment