Package io.opencensus.trace.unsafe
Class ContextHandleImpl
java.lang.Object
io.opencensus.trace.unsafe.ContextHandleImpl
- All Implemented Interfaces:
ContextHandle
ContextHandle
implementation using .-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattach()
void
detach
(ContextHandle contextHandle) (package private) io.grpc.Context
-
Field Details
-
context
private final io.grpc.Context context
-
-
Constructor Details
-
ContextHandleImpl
public ContextHandleImpl(io.grpc.Context context)
-
-
Method Details
-
getContext
io.grpc.Context getContext() -
attach
- Specified by:
attach
in interfaceContextHandle
-
detach
- Specified by:
detach
in interfaceContextHandle
-