Package co.elastic.apm.api
Interface Scope
- All Superinterfaces:
AutoCloseable
Scopes are designed to be used in combination with try-with-resource statements to remove
activated spans from
the current thread.-
Method Summary
-
Method Details
-
close
void close()Closing a scope removes the correspondingSpanfrom the current thread.- Specified by:
closein interfaceAutoCloseable
-