public Duration getDuration() {
      return Duration.ofNanos(System.nanoTime() - this.createTime);
    }
Get the duration of time that this {@code ServerContext} has been in
existence.

@return The duration of time this context has been existing.
service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java