{"action":"created","issue":{"url":"https://api.github.com/repos/dropwizard/metrics/issues/874","labels_url":"https://api.github.com/repos/dropwizard/metrics/issues/874/labels{/name}","comments_url":"https://api.github.com/repos/dropwizard/metrics/issues/874/comments","events_url":"https://api.github.com/repos/dropwizard/metrics/issues/874/events","html_url":"https://github.com/dropwizard/metrics/issues/874","id":111258187,"number":874,"title":"Method \"size\" should be removed from Reservoir interface","user":{"login":"vladimir-bukhtoyarov","id":6761830,"avatar_url":"https://avatars.githubusercontent.com/u/6761830?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimir-bukhtoyarov","html_url":"https://github.com/vladimir-bukhtoyarov","followers_url":"https://api.github.com/users/vladimir-bukhtoyarov/followers","following_url":"https://api.github.com/users/vladimir-bukhtoyarov/following{/other_user}","gists_url":"https://api.github.com/users/vladimir-bukhtoyarov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimir-bukhtoyarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimir-bukhtoyarov/subscriptions","organizations_url":"https://api.github.com/users/vladimir-bukhtoyarov/orgs","repos_url":"https://api.github.com/users/vladimir-bukhtoyarov/repos","events_url":"https://api.github.com/users/vladimir-bukhtoyarov/events{/privacy}","received_events_url":"https://api.github.com/users/vladimir-bukhtoyarov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-13T19:57:25Z","updated_at":"2015-10-13T20:31:38Z","closed_at":null,"body":"At the moment, I am doing integration of metrics-core and HdrHistogram, and I am unable to understand what I should return as \"size\". Method looks as unnecessary due to never used outside concrete Reservoir implementations."},"comment":{"url":"https://api.github.com/repos/dropwizard/metrics/issues/comments/147843585","html_url":"https://github.com/dropwizard/metrics/issues/874#issuecomment-147843585","issue_url":"https://api.github.com/repos/dropwizard/metrics/issues/874","id":147843585,"user":{"login":"ryantenney","id":124015,"avatar_url":"https://avatars.githubusercontent.com/u/124015?v=3","gravatar_id":"","url":"https://api.github.com/users/ryantenney","html_url":"https://github.com/ryantenney","followers_url":"https://api.github.com/users/ryantenney/followers","following_url":"https://api.github.com/users/ryantenney/following{/other_user}","gists_url":"https://api.github.com/users/ryantenney/gists{/gist_id}","starred_url":"https://api.github.com/users/ryantenney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryantenney/subscriptions","organizations_url":"https://api.github.com/users/ryantenney/orgs","repos_url":"https://api.github.com/users/ryantenney/repos","events_url":"https://api.github.com/users/ryantenney/events{/privacy}","received_events_url":"https://api.github.com/users/ryantenney/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T20:31:38Z","updated_at":"2015-10-13T20:31:38Z","body":"Reservoir Javadocs specify that it is to return the number of values recorded. Absent a compelling reason to remove it I'd like to leave well enough alone.\r\n\r\n```java\r\n    /**\r\n     * Returns the number of values recorded.\r\n     *\r\n     * @return the number of values recorded\r\n     */\r\n    int size();\r\n```"}}