Class StatsTestUtils.FakeTagContextBinarySerializer
java.lang.Object
io.opencensus.tags.propagation.TagContextBinarySerializer
io.grpc.internal.testing.StatsTestUtils.FakeTagContextBinarySerializer
- Enclosing class:
StatsTestUtils
public static final class StatsTestUtils.FakeTagContextBinarySerializer
extends io.opencensus.tags.propagation.TagContextBinarySerializer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.opencensus.tags.TagContextfromByteArray(byte[] bytes) byte[]toByteArray(io.opencensus.tags.TagContext tags)
-
Field Details
-
tagger
-
-
Constructor Details
-
FakeTagContextBinarySerializer
public FakeTagContextBinarySerializer()
-
-
Method Details
-
fromByteArray
public io.opencensus.tags.TagContext fromByteArray(byte[] bytes) throws io.opencensus.tags.propagation.TagContextDeserializationException - Specified by:
fromByteArrayin classio.opencensus.tags.propagation.TagContextBinarySerializer- Throws:
io.opencensus.tags.propagation.TagContextDeserializationException
-
toByteArray
public byte[] toByteArray(io.opencensus.tags.TagContext tags) - Specified by:
toByteArrayin classio.opencensus.tags.propagation.TagContextBinarySerializer
-