com.venky.core.log.TimerStatistics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common Show documentation
Show all versions of common Show documentation
Commonly used programming tasks in java
package com.venky.core.log;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.SortedSet;
import java.util.Stack;
import java.util.TreeSet;
import java.util.logging.Logger;
import com.venky.core.util.Bucket;
public class TimerStatistics {
private final String context;
private final Bucket callCount ;
private final Bucket elapsedTime;
private TimerStatistics(String context){
this.context = context;
this.callCount = new Bucket();
this.elapsedTime = new Bucket();
}
private static ThreadLocal