Class BoundedTrieImpl

java.lang.Object
org.apache.beam.runners.jet.metrics.BoundedTrieImpl
All Implemented Interfaces:
Serializable, BoundedTrie, Metric

public class BoundedTrieImpl extends Object implements BoundedTrie
Implementation of BoundedTrie.
See Also:
  • Constructor Details

    • BoundedTrieImpl

      public BoundedTrieImpl(MetricName name)
  • Method Details

    • add

      public void add(Iterable<String> values)
      Description copied from interface: BoundedTrie
      Adds a path to the trie. The path is represented as an iterable of string segments.
      Specified by:
      add in interface BoundedTrie
      Parameters:
      values - The segments of the path to add.
    • add

      public void add(String... values)
      Description copied from interface: BoundedTrie
      Adds a path to the trie. The path is represented as a variable number of string arguments.
      Specified by:
      add in interface BoundedTrie
      Parameters:
      values - The segments of the path to add.
    • getName

      public MetricName getName()