docs: Event createFailedEvent(String collisionContext, long[] cIds) {
          synchronized (terminated) {
              if (terminated.get()) {
                  return null;
              }
              if (setState(State.FAILED))
                  return createEvent(State.FAILED, null, collisionContext, cIds);
          }
          return null;
      }