aboutsummaryrefslogtreecommitdiff
path: root/api/src/main/java/io/opencensus/stats/Stats.java
AgeCommit message (Collapse)Author
2018-04-04Replace Guava VisibleForTesting in opencensus-api (issue #1081).Kristen Kozak
This commit adds two annotations to replace the uses of Guava's VisibleForTesting annotation in opencensus-api. Each annotation has a more specific meaning than VisibleForTesting, to make the uses of the annotations more informative. DefaultVisibilityForTesting - This annotation replaces the main use of @VisibleForTesting, indicating that an element was changed from private to package-private for testing. PublicForTesting - This annotation is temporary and should be removed as part of issue #977.
2018-02-22Add comments to boolean arguments to fix Error Prone warning (BooleanParameter).Kristen Kozak
2018-01-31Add '@since' Javadoc tag to all stats APIs (issue #864).Kristen Kozak
This commit also adds missing Javadocs.
2017-12-20Remove warning suppression related to null ClassLoaders.Kristen Kozak
Class.forName can take a null ClassLoader, so the methods that instantiate the stats, tags, and tracing components can also take null ClassLoaders.
2017-12-20Rename NullnessUtils to CheckerFrameworkUtils.Kristen Kozak
2017-12-19Suppress some Checker Framework warnings and add TODOs (issue #359).Kristen Kozak
Fixing these warnings will require significant refactoring.
2017-11-17Use consistent wording in stats and tags 'setState' Javadocs.Kristen Kozak
This commit updates the Javadocs for Stats.setState and StatsComponent.setState to avoid guaranteeing that the state won't change. It is consistent with Tags and TagsComponent.
2017-11-13Deprecate Stats.setState, and throw an exception when it is called after ↵Yang Song
getState. (#792) * Throw IllegalStateException if setState is called after getState * Deprecate Stats.setState * Remove a test that has potential race condition. * Remove Deprecated from impl
2017-10-23Move stats and tags packages to opencensus-api to prepare for release. (#723)sebright