Github user newkek commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/386#discussion_r75708714
  
    --- Diff: 
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/util/DefaultTraversalMetrics.java
 ---
    @@ -54,6 +54,14 @@
         public DefaultTraversalMetrics() {
         }
     
    +    // This is only a convenient constructor needed for GraphSON 
deserialization.
    +    // TODO: see if that's ok to add that.
    +    public DefaultTraversalMetrics(long totalStepDurationNs, 
List<MutableMetrics> metricsMap) {
    --- End diff --
    
    Not sure who I should ask about that, I decided to add a public constructor 
here for convenience during the deserialization, it takes the total duration, 
and a list of all the Metrics its composed of.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to