In a multi-threaded program, I have a class
public class someClass { private static int orderTag = 0; // Increment tag inside synchronized to make it thread saf