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
ConstructorsModifierConstructorDescriptionprivateWithTagMap(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- theTagContextto be added to the currentContext.
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceNonThrowingCloseable- Specified by:
closein interfaceScope
-