code: public static TraceEvent beginDuration(String name, Object... args) {
          return new TraceEvent(TraceEventType.DURATION_BEGIN, name, null, args);
      }
docs: Creates a begin duration trace event. This method does not queue the
  event. Call {@link TraceEventBatch#add(Supplier)} to queue the event.