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 StatsCollectionState
StatsComponentImplBase.stateToStatsState
(CurrentState.State state) Methods in io.opencensus.implcore.stats with parameters of type StatsCollectionStateModifier and TypeMethodDescriptionvoid
StatsComponentImplBase.setState
(StatsCollectionState newState) private static CurrentState.State
StatsComponentImplBase.statsStateToState
(StatsCollectionState statsCollectionState) -
Uses of StatsCollectionState in io.opencensus.stats
Methods in io.opencensus.stats that return StatsCollectionStateModifier and TypeMethodDescriptionNoopStats.NoopStatsComponent.getState()
static StatsCollectionState
Stats.getState()
Returns the currentStatsCollectionState
.abstract StatsCollectionState
StatsComponent.getState()
Returns the currentStatsCollectionState
.static StatsCollectionState
Returns 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 TypeMethodDescriptionvoid
NoopStats.NoopStatsComponent.setState
(StatsCollectionState state) Deprecated.static void
Stats.setState
(StatsCollectionState state) Deprecated.abstract void
StatsComponent.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.