Class CloudTrace (2.0.0)

public abstract class CloudTrace

Inheritance

java.lang.Object > CloudTrace

Static Methods

endSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, CloudTraceContext arg2)

public static void endSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, CloudTraceContext arg2)
Parameters
Name Description
arg0 Environment
arg1 CloudTraceContext
arg2 CloudTraceContext

getCurrentContext(ApiProxy.Environment arg0)

public static CloudTraceContext getCurrentContext(ApiProxy.Environment arg0)
Parameter
Name Description
arg0 Environment
Returns
Type Description
CloudTraceContext

setCurrentContext(ApiProxy.Environment arg0, CloudTraceContext arg1)

public static void setCurrentContext(ApiProxy.Environment arg0, CloudTraceContext arg1)
Parameters
Name Description
arg0 Environment
arg1 CloudTraceContext

setLabel(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2, String arg3)

public static void setLabel(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2, String arg3)
Parameters
Name Description
arg0 Environment
arg1 CloudTraceContext
arg2 String
arg3 String

startChildSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2)

public static CloudTraceContext startChildSpan(ApiProxy.Environment arg0, CloudTraceContext arg1, String arg2)
Parameters
Name Description
arg0 Environment
arg1 CloudTraceContext
arg2 String
Returns
Type Description
CloudTraceContext

Constructors

CloudTrace(ApiProxy.Environment arg0)

public CloudTrace(ApiProxy.Environment arg0)
Parameter
Name Description
arg0 Environment

Methods

endSpanImpl(CloudTraceContext arg0)

protected abstract void endSpanImpl(CloudTraceContext arg0)
Parameter
Name Description
arg0 CloudTraceContext

getDefaultContext()

protected abstract CloudTraceContext getDefaultContext()
Returns
Type Description
CloudTraceContext

setLabelImpl(CloudTraceContext arg0, String arg1, String arg2)

protected abstract void setLabelImpl(CloudTraceContext arg0, String arg1, String arg2)
Parameters
Name Description
arg0 CloudTraceContext
arg1 String
arg2 String

startChildSpanImpl(CloudTraceContext arg0, String arg1)

protected abstract CloudTraceContext startChildSpanImpl(CloudTraceContext arg0, String arg1)
Parameters
Name Description
arg0 CloudTraceContext
arg1 String
Returns
Type Description
CloudTraceContext