Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir.bukhtoyarov committed Nov 11, 2016
1 parent 5af7572 commit b30d8b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions top.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Concurrency properties:


## How to add Top to MetricRegistry?
The all of implementations of Top mentioned above do not implement of any MetricCore interface,
this decision was taken in order to provide ability to use Top without dependency from metrics-core library.
The implementation of Top does not implement of any MetricCore interface, this decision was taken in order to provide ability to use Top without dependency from metrics-core library.
So you need to register Top manually as MetricSet in **MetricRegistry**, for example:
```java
Top top = Top.builder(3).resetAllPositionsOnSnapshot().build();
Expand Down

0 comments on commit b30d8b0

Please sign in to comment.