Class SpanName (2.18.7)

public abstract class SpanName

A value class to represent the name of the operation in an ApiTracer.

Inheritance

java.lang.Object > SpanName

Static Methods

of(String clientName, String methodName)

public static SpanName of(String clientName, String methodName)

Creates a new instance of the name.

Parameters
NameDescription
clientNameString

The name of the client. In general this will be GAPIC generated client name. However, in some cases, when the GAPIC generated client is wrapped, this will be overridden to specify the manually written wrapper's name.

methodNameString

The name of the logical operation being traced.

Returns
TypeDescription
SpanName

Constructors

SpanName()

public SpanName()

Methods

getClientName()

public abstract String getClientName()

The name of the client. ie BigtableData

Returns
TypeDescription
String

getMethodName()

public abstract String getMethodName()

The name of the logical operation being traced. ie. ReadRows.

Returns
TypeDescription
String

toString()

public String toString()
Returns
TypeDescription
String
Overrides