Class OpenCensusSpan (2.16.1)

public class OpenCensusSpan implements ISpan

Inheritance

java.lang.Object > OpenCensusSpan

Implements

com.google.cloud.spanner.ISpan

Constructors

OpenCensusSpan(Span arg0)

public OpenCensusSpan(Span arg0)
Parameter
NameDescription
arg0io.opencensus.trace.Span

Methods

addAnnotation(String arg0)

public void addAnnotation(String arg0)
Parameter
NameDescription
arg0String

addAnnotation(String arg0, String arg1, String arg2)

public void addAnnotation(String arg0, String arg1, String arg2)
Parameters
NameDescription
arg0String
arg1String
arg2String

addAnnotation(String arg0, String arg1, long arg2)

public void addAnnotation(String arg0, String arg1, long arg2)
Parameters
NameDescription
arg0String
arg1String
arg2long

addAnnotation(String arg0, Throwable arg1)

public void addAnnotation(String arg0, Throwable arg1)
Parameters
NameDescription
arg0String
arg1Throwable

addAnnotation(String arg0, Map<String,Object> arg1)

public void addAnnotation(String arg0, Map<String,Object> arg1)
Parameters
NameDescription
arg0String
arg1Map<String,Object>

end()

public void end()

setStatus(ErrorCode arg0)

public void setStatus(ErrorCode arg0)
Parameter
NameDescription
arg0ErrorCode

setStatus(Throwable arg0)

public void setStatus(Throwable arg0)
Parameter
NameDescription
arg0Throwable