protected void setupTraceBeforeStart(final @NotNull IndexId<?, ?> indexId,
                                           final @Nullable T parentTrace) {
        this.indexId = indexId;
        this.lookupFailed = false;
        this.totalKeysIndexed = -1;
        this.lookupResultSize = -1;

        this.parentTrace = parentTrace;
        if (this.parentTrace == null) {
          depth = 0;
        }
        else {
          depth = this.parentTrace.depth + 1;
        }
        lookupStartedAtMs = System.currentTimeMillis();
      }
protected void setupTraceBeforeStart(final @NotNull IndexId<?, ?> indexId,
                                           final @Nullable T parentTrace)