Code example for AtomicInteger

0
/** 
 * @author Joram Barrez 
 */ 
public class ServiceTaskTestMock implements JavaDelegate { 
 
	public static AtomicInteger CALL_COUNT = new AtomicInteger();
	 
	@Override 
	public void execute(DelegateExecution execution) throws Exception {
	  CALL_COUNT.incrementAndGet();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE