Uses of Class
io.opencensus.stats.StatsCollectionState
-
Packages that use StatsCollectionState Package Description io.opencensus.implcore.stats io.opencensus.stats API for stats recording. -
-
Uses of StatsCollectionState in io.opencensus.implcore.stats
Methods in io.opencensus.implcore.stats that return StatsCollectionState Modifier and Type Method Description StatsCollectionStateStatsComponentImplBase. getState()private static StatsCollectionStateStatsComponentImplBase. stateToStatsState(CurrentState.State state)Methods in io.opencensus.implcore.stats with parameters of type StatsCollectionState Modifier and Type Method Description voidStatsComponentImplBase. setState(StatsCollectionState newState)private static CurrentState.StateStatsComponentImplBase. statsStateToState(StatsCollectionState statsCollectionState) -
Uses of StatsCollectionState in io.opencensus.stats
Methods in io.opencensus.stats that return StatsCollectionState Modifier and Type Method Description StatsCollectionStateNoopStats.NoopStatsComponent. getState()static StatsCollectionStateStats. getState()Returns the currentStatsCollectionState.abstract StatsCollectionStateStatsComponent. getState()Returns the currentStatsCollectionState.static StatsCollectionStateStatsCollectionState. valueOf(java.lang.String name)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 StatsCollectionState Modifier and Type Method Description voidNoopStats.NoopStatsComponent. setState(StatsCollectionState state)Deprecated.static voidStats. setState(StatsCollectionState state)Deprecated.This method is deprecated because other libraries could cache the result ofStats.getState(), use a stale value, and behave incorrectly.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.
-