beginWait
Begins a TreeFutureWait trace. Returns a trace identifier that must be passed to endWait after the blocking .get() completes. The resulting event will carry DebugEventAttribute.Duration measuring the actual wait time.
Returns null if no subscribers are listening (no trace overhead).