@Override protected boolean shouldCount(Runnable task) { if (task instanceof ChildExecutor) { return false; } return super.shouldCount(task); }
@Override protected boolean shouldCount(Runnable task) { return !(task instanceof EventTask) && super.shouldCount(task); }
protected void increaseCounter(Runnable task) { if (!shouldCount(task)) { return;
protected void decreaseCounter(Runnable task) { if (!shouldCount(task)) { return;