void (final @NotNull IndexId<?, ?> indexId, final @Nullable T parentTrace) { this.indexId = indexId; this.project = null; 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(); }