I've got a Job
class with method, that get the data from the DB and save the latest data to the static field.
But it gets data very often, so the problem could be with delays, that the previous job won't finish before the timer would run the next job
.
So I used annotation [DisallowConcurrentExecution]
, but it seems to do completely nothing.
How can I use this DisallowConcurrentExecution
in the other way?