Package io.opencensus.implcore.tags
Class CurrentTagMapUtils.WithTagMap
- java.lang.Object
-
- io.opencensus.implcore.tags.CurrentTagMapUtils.WithTagMap
-
- All Implemented Interfaces:
NonThrowingCloseable
,Scope
,java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- CurrentTagMapUtils
private static final class CurrentTagMapUtils.WithTagMap extends java.lang.Object implements Scope
-
-
Field Summary
Fields Modifier and Type Field Description private io.grpc.Context
orig
-
Constructor Summary
Constructors Modifier Constructor Description private
WithTagMap(TagContext tags)
Constructs a newCurrentTagMapUtils.WithTagMap
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
-
-
Constructor Detail
-
WithTagMap
private WithTagMap(TagContext tags)
Constructs a newCurrentTagMapUtils.WithTagMap
.- Parameters:
tags
- theTagContext
to be added to the currentContext
.
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfaceNonThrowingCloseable
- Specified by:
close
in interfaceScope
-
-