Class OpenCensusSpan (2.22.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
Name Description
arg0 io.opencensus.trace.Span

Methods

addAnnotation(String arg0)

public void addAnnotation(String arg0)
Parameter
Name Description
arg0 String

addAnnotation(String arg0, String arg1, String arg2)

public void addAnnotation(String arg0, String arg1, String arg2)
Parameters
Name Description
arg0 String
arg1 String
arg2 String

addAnnotation(String arg0, String arg1, long arg2)

public void addAnnotation(String arg0, String arg1, long arg2)
Parameters
Name Description
arg0 String
arg1 String
arg2 long

addAnnotation(String arg0, Throwable arg1)

public void addAnnotation(String arg0, Throwable arg1)
Parameters
Name Description
arg0 String
arg1 Throwable

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

public void addAnnotation(String arg0, Map<String,Object> arg1)
Parameters
Name Description
arg0 String
arg1 Map<String,Object>

end()

public void end()

setStatus(ErrorCode arg0)

public void setStatus(ErrorCode arg0)
Parameter
Name Description
arg0 ErrorCode

setStatus(Throwable arg0)

public void setStatus(Throwable arg0)
Parameter
Name Description
arg0 Throwable