Class RequestId

  • All Implemented Interfaces:
    AnyId, java.io.Serializable, scala.Equals, scala.Product

    public class RequestId
    extends java.lang.Object
    implements AnyId, scala.Product, java.io.Serializable
    The logging id of a specific request

    param: trackingId the global unique id of the request optional: A new unique id will be created if this is not specified param: spanId a sub-id used when a a service is called multiple times for the same global request optional: defaults to 0 param: level a field for controlling per request log levels optional: defaults to no per request control

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RequestId​(java.lang.String trackingId, java.lang.String spanId, scala.Option<Level> level)  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract static R apply​(T1 v1, T2 v2, T3 v3)  
      scala.Option<Level> level()  
      java.lang.String spanId()  
      static java.lang.String toString()  
      java.lang.String trackingId()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • RequestId

        public RequestId​(java.lang.String trackingId,
                         java.lang.String spanId,
                         scala.Option<Level> level)
    • Method Detail

      • apply

        public abstract static R apply​(T1 v1,
                                       T2 v2,
                                       T3 v3)
      • toString

        public static java.lang.String toString()
      • trackingId

        public java.lang.String trackingId()
      • spanId

        public java.lang.String spanId()
      • level

        public scala.Option<Level> level()