Fields Summary |
---|
private com.sun.enterprise.admin.wsmgmt.stats.spi.WebServiceEndpointStatsProvider | delegate |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | averageResponseTime |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | responseTime |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | minResponseTime |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | maxResponseTime |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | totalFaults |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | totalSuccesses |
private com.sun.appserv.management.j2ee.statistics.NumberStatisticImpl | throughput |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | totalAuthFailures |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | totalAuthSuccesses |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | requestSize |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | responseSize |
private com.sun.appserv.management.j2ee.statistics.StringStatisticImpl | faultCode |
private com.sun.appserv.management.j2ee.statistics.StringStatisticImpl | faultString |
private com.sun.appserv.management.j2ee.statistics.StringStatisticImpl | faultActor |
private com.sun.appserv.management.j2ee.statistics.StringStatisticImpl | clientHost |
private com.sun.appserv.management.j2ee.statistics.StringStatisticImpl | clientUser |
private static final com.sun.enterprise.util.i18n.StringManager | _stringMgr |
private static String | DEFAULT_TIME_UNIT |
private static String | DEFAULT_SIZE_UNIT |
Methods Summary |
---|
public javax.management.j2ee.statistics.CountStatistic | getAverageResponseTime()
averageResponseTime.setCount(delegate.getAverageResponseTime());
return (CountStatistic) averageResponseTime.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getMaxResponseTime()
maxResponseTime.setCount(delegate.getMaxResponseTime());
return (CountStatistic) maxResponseTime.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getMinResponseTime()
minResponseTime.setCount(delegate.getMinResponseTime());
return (CountStatistic) minResponseTime.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getResponseTime()
responseTime.setCount(delegate.getResponseTime());
return (CountStatistic) responseTime.modifiableView();
|
public com.sun.appserv.management.j2ee.statistics.NumberStatistic | getThroughput()
throughput.setNumber(new Double(delegate.getThroughput()));
return (NumberStatistic) throughput;
|
public javax.management.j2ee.statistics.CountStatistic | getTotalAuthFailures()
totalAuthFailures.setCount(delegate.getTotalAuthFailures());
return (CountStatistic) totalAuthFailures.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getTotalAuthSuccesses()
totalAuthSuccesses.setCount(delegate.getTotalAuthSuccesses());
return (CountStatistic) totalAuthSuccesses.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getTotalFaults()
totalFaults.setCount(delegate.getTotalFailures());
return (CountStatistic) totalFaults.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getTotalNumSuccess()
totalSuccesses.setCount(delegate.getTotalSuccesses());
return (CountStatistic) totalSuccesses.modifiableView();
|
protected void | initialize()
super.initialize(
"com.sun.appserv.management.monitor.statistics.WebServiceEndpointAggregateStats");
averageResponseTime = new MutableCountStatisticImpl(
new CountStatisticImpl("AverageResponseTime", DEFAULT_TIME_UNIT));
minResponseTime = new MutableCountStatisticImpl(
new CountStatisticImpl("MinResponseTime", DEFAULT_TIME_UNIT));
maxResponseTime = new MutableCountStatisticImpl(
new CountStatisticImpl("MaxResponseTime", DEFAULT_TIME_UNIT));
responseTime = new MutableCountStatisticImpl(
new CountStatisticImpl("ResponseTime", DEFAULT_TIME_UNIT));
totalFaults = new MutableCountStatisticImpl(
new CountStatisticImpl("TotalFaults"));
totalSuccesses = new MutableCountStatisticImpl(
new CountStatisticImpl("TotalNumSuccess"));
totalAuthFailures = new MutableCountStatisticImpl(
new CountStatisticImpl("TotalAuthFailures"));
totalAuthSuccesses = new MutableCountStatisticImpl(
new CountStatisticImpl("TotalAuthSuccesses"));
long t = System.currentTimeMillis();
String description = _stringMgr.getString("throughput.description");
throughput = new NumberStatisticImpl(
"Throughput", description, "Requests Per Second", t, t,
new Double(0.0));
requestSize = new MutableCountStatisticImpl(
new CountStatisticImpl("RequestSize", DEFAULT_SIZE_UNIT));
responseSize = new MutableCountStatisticImpl(
new CountStatisticImpl("ResponseSize", DEFAULT_SIZE_UNIT));
|