public class PerformanceStore extends Object
In every toplist, each "item" contains the following data:
| Constructor and Description |
|---|
PerformanceStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(String listKey,
PerfItem pi) |
void |
addItem(String listKey,
String itemKey,
long value,
String request,
Object data)
Add an item to the specified list if it is is within that lists's bounds.
|
void |
clear() |
void |
define(String key,
String desc,
boolean descending,
int maxsize) |
List<PerfItem> |
getItems(String listKey) |
PerfList |
getList(String key) |
List<PerfList> |
getLists() |
void |
merge(PerformanceStore other)
This merges-in the performance data from another store.
|
public void addItem(@Nonnull String listKey, @Nonnull String itemKey, long value, @Nullable String request, @Nullable Object data)
listKey - itemKey - value - data - public void merge(PerformanceStore other)
other - public void clear()
Copyright © 2017 etc.to. All rights reserved.