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 StatsCollectionState
StatsComponentImplBase. getState()
private static StatsCollectionState
StatsComponentImplBase. stateToStatsState(CurrentState.State state)
Methods in io.opencensus.implcore.stats with parameters of type StatsCollectionState Modifier and Type Method Description void
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 StatsCollectionState Modifier and Type Method Description StatsCollectionState
NoopStats.NoopStatsComponent. getState()
static StatsCollectionState
Stats. getState()
Returns the currentStatsCollectionState
.abstract StatsCollectionState
StatsComponent. getState()
Returns the currentStatsCollectionState
.static StatsCollectionState
StatsCollectionState. 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 void
NoopStats.NoopStatsComponent. setState(StatsCollectionState state)
Deprecated.static void
Stats. 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 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.
-