Package io.opencensus.implcore.tags
Class CurrentTagMapUtils.WithTagMap
java.lang.Object
io.opencensus.implcore.tags.CurrentTagMapUtils.WithTagMap
- All Implemented Interfaces:
NonThrowingCloseable
,Scope
,Closeable
,AutoCloseable
- Enclosing class:
CurrentTagMapUtils
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
WithTagMap
(TagContext tags) Constructs a newCurrentTagMapUtils.WithTagMap
. -
Method Summary
-
Field Details
-
orig
private final io.grpc.Context orig
-
-
Constructor Details
-
WithTagMap
Constructs a newCurrentTagMapUtils.WithTagMap
.- Parameters:
tags
- theTagContext
to be added to the currentContext
.
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceNonThrowingCloseable
- Specified by:
close
in interfaceScope
-