|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.java.dev.moskito.core.producers.AbstractStats
net.java.dev.moskito.util.storage.StorageStats
public class StorageStats
| Field Summary | |
|---|---|
private StatValue |
containsKeyCalls
Number of calls of the containsKey method. |
private StatValue |
containsKeyHits
Number of calls of the containsKey method which returned true. |
private StatValue |
containsValueCalls
Number of calls of the containsValue method. |
private StatValue |
containsValueHits
Number of calls of the containsValue method which returned true. |
private StatValue |
gets
Number of calls of the get method. |
private StatValue |
missedGets
Nnumber of the calls of the get method which returned null. |
private String |
name
|
private StatValue |
noopRemoves
Number of remove calls which did no effect (no value for this key in the storage). |
private StatValue |
overwritePuts
Number of calls to put which overwrote existing data. |
private StatValue |
puts
Number of total calls to put. |
private StatValue |
removes
Number of remove calls. |
private StatValue |
size
Size of the storage. |
| Constructor Summary | |
|---|---|
StorageStats()
|
|
StorageStats(String name)
|
|
StorageStats(String aName,
Interval[] selectedIntervals)
|
|
| Methods inherited from class net.java.dev.moskito.core.producers.AbstractStats |
|---|
createSnapshot, toStatsString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private StatValue gets
private StatValue missedGets
private StatValue puts
private StatValue overwritePuts
private StatValue removes
private StatValue noopRemoves
private StatValue size
private StatValue containsKeyCalls
private StatValue containsKeyHits
private StatValue containsValueCalls
private StatValue containsValueHits
private String name
| Constructor Detail |
|---|
public StorageStats()
public StorageStats(String name)
public StorageStats(String aName,
Interval[] selectedIntervals)
| Method Detail |
|---|
public String getName()
public String toStatsString(String intervalName)
public double getNoopRemoveRatio(String intervalName)
public double getOverwritePutRatio(String intervalName)
public double getNewPutRatio(String intervalName)
public double getMissedGetRatio(String intervalName)
public double getHitGetRatio(String intervalName)
public double getContainsKeyHitRatio(String intervalName)
public double getContainsValueHitRatio(String intervalName)
public double getPutGetRatio(String intervalName)
public double getPutRemoveRatio(String intervalName)
public void addGet()
public void addMissedGet()
public void addPut()
public void addOverwritePut()
public void increaseSize()
public void decreaseSize()
public void setSize(int aSize)
public void addContainsKeyHit()
public void addContainsKeyMiss()
public void addContainsValueHit()
public void addContainsValueMiss()
public void addRemove()
public void addNoopRemove()
public long getContainsKeyCalls(String intervalName)
public long getContainsKeyHits(String intervalName)
public long getContainsValueCalls(String intervalName)
public long getContainsValueHits(String intervalName)
public long getGets(String intervalName)
public long getMissedGets(String intervalName)
public long getNoopRemoves(String intervalName)
public long getOverwritePuts(String intervalName)
public long getPuts(String intervalName)
public long getRemoves(String intervalName)
public long getSize(String intervalName)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||