Package com.amazonaws.xray.contexts
Class LambdaSegmentContext
- java.lang.Object
-
- com.amazonaws.xray.contexts.LambdaSegmentContext
-
- All Implemented Interfaces:
SegmentContext
public class LambdaSegmentContext extends java.lang.Object implements SegmentContext
-
-
Constructor Summary
Constructors Constructor Description LambdaSegmentContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Subsegment
beginSubsegment(AWSXRayRecorder recorder, java.lang.String name)
void
endSubsegment(AWSXRayRecorder recorder)
static TraceHeader
getTraceHeaderFromEnvironment()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.xray.contexts.SegmentContext
beginSegment, beginSubsegmentWithoutSampling, beginSubsegmentWithSamplingOverride, clearTraceEntity, endSegment, getTraceEntity, setTraceEntity
-
-
-
-
Method Detail
-
getTraceHeaderFromEnvironment
public static TraceHeader getTraceHeaderFromEnvironment()
-
beginSubsegment
public Subsegment beginSubsegment(AWSXRayRecorder recorder, java.lang.String name)
- Specified by:
beginSubsegment
in interfaceSegmentContext
-
endSubsegment
public void endSubsegment(AWSXRayRecorder recorder)
- Specified by:
endSubsegment
in interfaceSegmentContext
-
-