| Constructor and Description |
|---|
SnapshotCachingRanking(Ranking<T> target,
Duration cachingDuration,
Ticker ticker) |
| 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,
T identity)
Updates the ranking positions.
|
public void update(long weight,
T identity)
Rankingpublic List<Position> getPositionsInDescendingOrder()
RankingRanking.getSize() if not enough count of quires were recorded.getPositionsInDescendingOrder in interface Ranking<T>public int getSize()
Copyright © 2020. All rights reserved.