org.wso2.carbon.event.statistics.internal.counter
Class StatsCounter

java.lang.Object
  extended by org.wso2.carbon.event.statistics.internal.counter.StatsCounter

public class StatsCounter
extends Object


Constructor Summary
StatsCounter(String name, String type)
           
 
Method Summary
 void addChildCounter(String name, StatsCounter childCounter)
           
 StatsCounter getChildCounter(String name)
           
 ConcurrentHashMap<String,StatsCounter> getChildCounters()
           
 String getName()
           
 BasicStatsCounter getRequestStatCounter()
           
 BasicStatsCounter getResponseStatCounter()
           
 String getType()
           
 void incrementRequest()
           
 void incrementResponse()
           
 void reset()
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatsCounter

public StatsCounter(String name,
                    String type)
Method Detail

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.