Uses of Enum
io.opencensus.stats.StatsCollectionState
Packages that use StatsCollectionState
-
Uses of StatsCollectionState in io.opencensus.implcore.stats
Methods in io.opencensus.implcore.stats that return StatsCollectionStateModifier and TypeMethodDescriptionStatsComponentImplBase.getState()private static StatsCollectionStateStatsComponentImplBase.stateToStatsState(CurrentState.State state) Methods in io.opencensus.implcore.stats with parameters of type StatsCollectionStateModifier and TypeMethodDescriptionvoidStatsComponentImplBase.setState(StatsCollectionState newState) private static CurrentState.StateStatsComponentImplBase.statsStateToState(StatsCollectionState statsCollectionState) -
Uses of StatsCollectionState in io.opencensus.stats
Subclasses with type arguments of type StatsCollectionState in io.opencensus.statsMethods in io.opencensus.stats that return StatsCollectionStateModifier and TypeMethodDescriptionNoopStats.NoopStatsComponent.getState()static StatsCollectionStateStats.getState()Returns the currentStatsCollectionState.abstract StatsCollectionStateStatsComponent.getState()Returns the currentStatsCollectionState.static StatsCollectionStateReturns the enum constant of this type with the specified name.static StatsCollectionState[]StatsCollectionState.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.opencensus.stats with parameters of type StatsCollectionStateModifier and TypeMethodDescriptionvoidNoopStats.NoopStatsComponent.setState(StatsCollectionState state) Deprecated.static voidStats.setState(StatsCollectionState state) Deprecated.abstract voidStatsComponent.setState(StatsCollectionState state) Deprecated.This method is deprecated because other libraries could cache the result ofStatsComponent.getState(), use a stale value, and behave incorrectly.
Stats.getState(), use a stale value, and behave incorrectly.