Class SystemStatistics
java.lang.Object
org.wso2.carbon.statistics.services.util.SystemStatistics
-
Constructor Summary
ConstructorsConstructorDescriptionSystemStatistics(org.apache.axis2.context.MessageContext messageContext) SystemStatistics(org.apache.axis2.engine.AxisConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptiondoubleintintintlonglonglongintintintintvoidsetCurrentInvocationFaultCount(int currentInvocationFaultCount) voidsetCurrentInvocationRequestCount(int currentInvocationRequestCount) voidsetCurrentInvocationResponseCount(int currentInvocationResponseCount) voidsetCurrentInvocationResponseTime(long currentInvocationResponseTime) voidsetJavaVersion(String javaVersion) voidsetStatService(SystemStatisticsUtil statService) voidsetWso2wsasVersion(String wso2wsasVersion) voidupdate(org.apache.axis2.context.MessageContext messageContext) voidupdate(org.apache.axis2.engine.AxisConfiguration axisConfig)
-
Constructor Details
-
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 Details
-
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
-
setStatService
-
getSystemUpTime
-
getServerStartTime
-
getServerName
-
getTotalRequestCount
public int getTotalRequestCount() -
getServices
public int getServices() -
getUsedMemory
-
getTotalMemory
-
getTotalFaultCount
public int getTotalFaultCount() -
getTotalResponseCount
public int getTotalResponseCount() -
getAvgResponseTime
public double getAvgResponseTime() -
getMinResponseTime
public long getMinResponseTime() -
getMaxResponseTime
public long getMaxResponseTime() -
getWso2wsasVersion
-
setWso2wsasVersion
-
getJavaVersion
-
setJavaVersion
-