@Override public void run() { jm.yield(); }
public static void main(String[] args) { int i = 0; while (true) { i++; System.out.println("This is a text line. This job won't end on its own and must be killed. " + i); try { Thread.sleep(1000); } catch (InterruptedException e) { e.printStackTrace(); } jm.yield(); } } }
jqmlogger.trace("An engine API method was called: " + methodName + " with nb arguments: " + classes.length); this.api.yield();