org.wso2.carbon.event.statistics.internal.counter
Class StatsCounter
java.lang.Object
org.wso2.carbon.event.statistics.internal.counter.StatsCounter
public class StatsCounter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatsCounter
public StatsCounter(String name,
String type)
addChildCounter
public void addChildCounter(String name,
StatsCounter childCounter)
getChildCounter
public StatsCounter getChildCounter(String name)
getName
public String getName()
incrementRequest
public void incrementRequest()
incrementResponse
public void incrementResponse()
reset
public void reset()
getRequestStatCounter
public BasicStatsCounter getRequestStatCounter()
getResponseStatCounter
public BasicStatsCounter getResponseStatCounter()
getChildCounters
public ConcurrentHashMap<String,StatsCounter> getChildCounters()
getType
public String getType()
setType
public void setType(String type)
Copyright © 2015 WSO2. All rights reserved.