com.konakartadmin.utils
Class ApiAnalysis.ApiCall

java.lang.Object
  extended by com.konakartadmin.utils.ApiAnalysis.ApiCall
Enclosing class:
ApiAnalysis

public class ApiAnalysis.ApiCall
extends java.lang.Object

Holds details of the ApiCall


Field Summary
private  long meanMs
          Mean execution time
private  java.lang.String name
          API name
private  int occurrences
          Number of times executed
private  long totalMs
          Total execution time
 
Constructor Summary
ApiAnalysis.ApiCall()
           
 
Method Summary
 long getMeanMs()
           
 java.lang.String getName()
           
 int getOccurrences()
           
 long getTotalMs()
           
 void setMeanMs(long meanMs)
           
 void setName(java.lang.String name)
           
 void setOccurrences(int occurrences)
           
 void setTotalMs(long totalMs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name
API name


occurrences

private int occurrences
Number of times executed


totalMs

private long totalMs
Total execution time


meanMs

private long meanMs
Mean execution time

Constructor Detail

ApiAnalysis.ApiCall

public ApiAnalysis.ApiCall()
Method Detail

getOccurrences

public int getOccurrences()
Returns:
the occurrences

setOccurrences

public void setOccurrences(int occurrences)
Parameters:
occurrences - the occurrences to set

getMeanMs

public long getMeanMs()
Returns:
the meanMs

setMeanMs

public void setMeanMs(long meanMs)
Parameters:
meanMs - the meanMs to set

getTotalMs

public long getTotalMs()
Returns:
the totalMs

setTotalMs

public void setTotalMs(long totalMs)
Parameters:
totalMs - the totalMs to set

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the sql to set


Copyright © 2011 DS Data Systems UK Ltd.