public class DeploymentSpan extends Object implements AutoCloseable
TraceContext
, the action being performed by any enum value.
Optionally it can contain the name of the component on which the action is performed.Modifier and Type | Method and Description |
---|---|
void |
close()
Close the current span.
|
Enum<?> |
getAction() |
Duration |
getDuration() |
Instant |
getFinish() |
int |
getNestLevel()
Determined level of nesting.
|
Instant |
getStart() |
String |
toString() |
public Instant getStart()
public Instant getFinish()
public Duration getDuration()
public Enum<?> getAction()
public void close()
close
in interface AutoCloseable
Exception
public int getNestLevel()
Copyright © 2021. All rights reserved.