com.jscape.inet.mft.audit.reporting.metricses
Class TopMetricsBase
java.lang.Object
com.jscape.inet.mft.audit.reporting.metricses.TopMetricsBase
public class TopMetricsBase
- extends java.lang.Object
- Author:
- Alex Usun
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopMetricsBase
public TopMetricsBase(java.util.Map<java.lang.String,NamedEntry> entries)
TopMetricsBase
public TopMetricsBase()
TopMetricsBase
public TopMetricsBase(TopMetricsBase that)
getEntries
public NamedEntry[] getEntries()
setEntries
public void setEntries(NamedEntry[] entries)
reset
public void reset()
getKeys
public java.lang.String[] getKeys()
- Returns an array of keys sorted by values descending.
- Returns:
- an array of keys
getValue
public long getValue(java.lang.String key)
- Return the value for the provided key.
- Parameters:
key
- the key
- Returns:
- the value for the provided key
- Throws:
java.lang.IllegalArgumentException
- if no value for this key
getEntry
public NamedEntry getEntry(java.lang.String name)
incrementEntry
public void incrementEntry(java.lang.String name)
Copyright © JSCAPE LLC. 1999-2015. All Rights Reserved