Uses of Enum
io.opencensus.tags.TaggingState
Packages that use TaggingState
Package
Description
API for associating tags with scoped operations.
-
Uses of TaggingState in io.opencensus.implcore.tags
Methods in io.opencensus.implcore.tags that return TaggingStateModifier and TypeMethodDescriptionTagsComponentImplBase.getState()
private static TaggingState
TagsComponentImplBase.stateToTaggingState
(CurrentState.State state) Methods in io.opencensus.implcore.tags with parameters of type TaggingStateModifier and TypeMethodDescriptionvoid
TagsComponentImplBase.setState
(TaggingState newState) Deprecated.private static CurrentState.State
TagsComponentImplBase.taggingStateToState
(TaggingState taggingState) -
Uses of TaggingState in io.opencensus.tags
Methods in io.opencensus.tags that return TaggingStateModifier and TypeMethodDescriptionNoopTags.NoopTagsComponent.getState()
static TaggingState
Tags.getState()
Returns the currentTaggingState
.abstract TaggingState
TagsComponent.getState()
Returns the currentTaggingState
.static TaggingState
Returns the enum constant of this type with the specified name.static TaggingState[]
TaggingState.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.opencensus.tags with parameters of type TaggingStateModifier and TypeMethodDescriptionvoid
NoopTags.NoopTagsComponent.setState
(TaggingState state) Deprecated.static void
Tags.setState
(TaggingState state) Deprecated.abstract void
TagsComponent.setState
(TaggingState state) Deprecated.This method is deprecated because other libraries could cache the result ofTagsComponent.getState()
, use a stale value, and behave incorrectly.
Tags.getState()
, use a stale value, and behave incorrectly.