Thanks Navneeth well explained…
I like to do practically to understand well with custom batch job using multithreading
Could you please guide me from scratch with the class and setup if required. I mean where to define the number of threads and how will I executed this.
I have gone through and what I understood…
Suppose I have journals like J1,J2,J3,J4,J5,J6,J7
Journal Queue…
J1 J2 J3 J4 J5 J6 J7
Batch task - J1, J3,J5
Batch task - J2,J6
Batch task - J7,J4
A batch task finishes one journal and then picks another journal from the queue.This gives much better workload balancing.
Am I correct?
Pls advise, thanks.