Class NoopSpan
java.lang.Object
org.bithon.agent.sdk.tracing.impl.NoopSpan
- All Implemented Interfaces:
AutoCloseable,ISpanV1,ISpan
- Author:
- frank.chen021@outlook.com
- Date:
- 14/5/25 10:49 pm
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclazz()voidclose()Override to remove the throws specificationlongendTime()end timestamp in microsecondsvoidfinish()Finish a span.kind()method()method(Executable method) name()parentId()spanId()start()longstart timestamp in microsecondstag(String name, InetSocketAddress address) tag(String name, SocketAddress address) tags()traceId()
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoopSpan
public NoopSpan()
-
-
Method Details
-
traceId
-
spanId
-
parentId
-
name
-
name
-
kind
-
kind
-
tags
-
tag
-
tag
-
tag
-
tag
-
tag
-
tag
-
tag
-
clazz
-
clazz
-
method
-
method
-
method
-
method
-
startTime
public long startTime()Description copied from interface:ISpanV1start timestamp in microseconds -
endTime
public long endTime()Description copied from interface:ISpanV1end timestamp in microseconds -
start
-
finish
public void finish()Description copied from interface:ISpanV1Finish a span. The implementation should guarantee that multiple calls on this method are safe. -
close
public void close()Description copied from interface:ISpanV1Override to remove the throws specification- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceISpanV1
-