io.leopard.topnb.service
Class PerformanceServiceImpl
java.lang.Object
io.leopard.topnb.service.PerformanceServiceImpl
- All Implemented Interfaces:
- PerformanceService
public class PerformanceServiceImpl
- extends java.lang.Object
- implements PerformanceService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerformanceServiceImpl
public PerformanceServiceImpl()
add
public boolean add(java.lang.String methodName,
long time)
- Specified by:
add in interface PerformanceService
listAll
public java.util.List<Performance> listAll(java.lang.String entryName)
- Specified by:
listAll in interface PerformanceService
getBaseData
protected BaseData getBaseData(java.lang.String entryName)
filterIgnoreMethod
protected void filterIgnoreMethod(java.util.List<Performance> performanceList)
isIgnoreMethod
protected boolean isIgnoreMethod(java.lang.String methodName)
listAllEntryName
public java.util.List<java.lang.String> listAllEntryName()
- Specified by:
listAllEntryName in interface PerformanceService
sub
public static <T> java.util.List<T> sub(java.util.List<T> list,
int max)
sortEntryName
protected void sortEntryName(java.util.List<java.lang.String> entryNameList)
getCount
protected long getCount(java.lang.String entryName)
getTypeName
public java.lang.String getTypeName(java.lang.String entryName)
- Specified by:
getTypeName in interface PerformanceService
Copyright © 2014. All Rights Reserved.