org.alfresco.util.resource
Class MethodResourceManager.MethodStatistics
java.lang.Object
org.alfresco.util.resource.MethodResourceManager.MethodStatistics
- Enclosing interface:
- MethodResourceManager
public static class MethodResourceManager.MethodStatistics
- extends java.lang.Object
Helper class to carry basic method call statistics.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodResourceManager.MethodStatistics
public MethodResourceManager.MethodStatistics()
accumulateNs
public void accumulateNs(long durationNs)
getAccumulatedTimeNs
public long getAccumulatedTimeNs()
getCallCount
public long getCallCount()
getAverageCallTimeNs
public double getAverageCallTimeNs()
- Returns:
- Returns the average call time in nanoseconds
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.