org.wso2.carbon.statistics.services.util
Class SystemStatistics

java.lang.Object
  extended by org.wso2.carbon.statistics.services.util.SystemStatistics

public class SystemStatistics
extends Object


Constructor Summary
SystemStatistics(org.apache.axis2.engine.AxisConfiguration configuration)
           
SystemStatistics(org.apache.axis2.context.MessageContext messageContext)
           
 
Method Summary
 double getAvgResponseTime()
           
 int getCurrentInvocationFaultCount()
           
 int getCurrentInvocationRequestCount()
           
 int getCurrentInvocationResponseCount()
           
 long getCurrentInvocationResponseTime()
           
 String getJavaVersion()
           
 long getMaxResponseTime()
           
 long getMinResponseTime()
           
 String getServerName()
           
 String getServerStartTime()
           
 int getServices()
           
 SystemStatisticsUtil getStatService()
           
 String getSystemUpTime()
           
 int getTotalFaultCount()
           
 Metric getTotalMemory()
           
 int getTotalRequestCount()
           
 int getTotalResponseCount()
           
 Metric getUsedMemory()
           
 String getWso2wsasVersion()
           
 void setCurrentInvocationFaultCount(int currentInvocationFaultCount)
           
 void setCurrentInvocationRequestCount(int currentInvocationRequestCount)
           
 void setCurrentInvocationResponseCount(int currentInvocationResponseCount)
           
 void setCurrentInvocationResponseTime(long currentInvocationResponseTime)
           
 void setJavaVersion(String javaVersion)
           
 void setStatService(SystemStatisticsUtil statService)
           
 void setWso2wsasVersion(String wso2wsasVersion)
           
 void update(org.apache.axis2.engine.AxisConfiguration axisConfig)
           
 void update(org.apache.axis2.context.MessageContext messageContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemStatistics

public SystemStatistics(org.apache.axis2.engine.AxisConfiguration configuration)
                 throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

SystemStatistics

public SystemStatistics(org.apache.axis2.context.MessageContext messageContext)
                 throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault
Method Detail

update

public void update(org.apache.axis2.engine.AxisConfiguration axisConfig)
            throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

update

public void update(org.apache.axis2.context.MessageContext messageContext)
            throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getCurrentInvocationRequestCount

public int getCurrentInvocationRequestCount()

setCurrentInvocationRequestCount

public void setCurrentInvocationRequestCount(int currentInvocationRequestCount)

getCurrentInvocationResponseCount

public int getCurrentInvocationResponseCount()

setCurrentInvocationResponseCount

public void setCurrentInvocationResponseCount(int currentInvocationResponseCount)

getCurrentInvocationFaultCount

public int getCurrentInvocationFaultCount()

setCurrentInvocationFaultCount

public void setCurrentInvocationFaultCount(int currentInvocationFaultCount)

getCurrentInvocationResponseTime

public long getCurrentInvocationResponseTime()

setCurrentInvocationResponseTime

public void setCurrentInvocationResponseTime(long currentInvocationResponseTime)

getStatService

public SystemStatisticsUtil getStatService()

setStatService

public void setStatService(SystemStatisticsUtil statService)

getSystemUpTime

public String getSystemUpTime()

getServerStartTime

public String getServerStartTime()

getServerName

public String getServerName()

getTotalRequestCount

public int getTotalRequestCount()

getServices

public int getServices()

getUsedMemory

public Metric getUsedMemory()

getTotalMemory

public Metric getTotalMemory()

getTotalFaultCount

public int getTotalFaultCount()

getTotalResponseCount

public int getTotalResponseCount()

getAvgResponseTime

public double getAvgResponseTime()

getMinResponseTime

public long getMinResponseTime()

getMaxResponseTime

public long getMaxResponseTime()

getWso2wsasVersion

public String getWso2wsasVersion()

setWso2wsasVersion

public void setWso2wsasVersion(String wso2wsasVersion)

getJavaVersion

public String getJavaVersion()

setJavaVersion

public void setJavaVersion(String javaVersion)


Copyright © 2015 WSO2. All rights reserved.