| Constructor and Description |
|---|
ResetByChunksRanking(int size,
long threshold,
long intervalBetweenResettingMillis,
int numberHistoryChunks,
Ticker ticker,
Executor backgroundExecutor) |
| Modifier and Type | Method and Description |
|---|---|
List<Position> |
getPositionsInDescendingOrder()
Returns the top of queries in descend order, slowest query will be at first place.
|
int |
getSize() |
String |
toString() |
void |
update(long weight,
Object identity)
Updates the ranking positions.
|
public void update(long weight,
Object identity)
Rankingpublic List<Position> getPositionsInDescendingOrder()
RankingRanking.getSize() if not enough count of quires were recorded.getPositionsInDescendingOrder in interface Rankingpublic int getSize()
Copyright © 2020. All rights reserved.