List<ExecutionEvent> () { final Thread initThread = myInitThread; if (initThread == null || initThread != Thread.currentThread()) { ensureInitialized(); } final List<ExecutionEvent> list = new ArrayList<>(); synchronized (myEventToTargetMap) { for (final ExecutionEvent event : myEventToTargetMap.keySet()) { if (event instanceof ExecuteCompositeTargetEvent) { list.add(event); } } } return list; }