docs: private final boolean tryTransitionToFlushed()
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "tryTransitionToFlushed");
  
      boolean ret = false;
      if (startedFlush)
      {
        // check if completed flush
        if (!isFlushed && stream.getCompletedPrefix() == Long.MAX_VALUE)
        {
          isFlushed = true;
          ret = active;
          closeInternal();
          parent.streamIsFlushed(this);
        }
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "tryTransitionToFlushed", Boolean.valueOf(ret));
  
      return ret;
    }