org.gridkit.jvmtool.stacktrace.analytics
Class SimpleCategorizer

java.lang.Object
  extended by org.gridkit.jvmtool.stacktrace.analytics.SimpleCategorizer
All Implemented Interfaces:
ThreadSnapshotCategorizer

public class SimpleCategorizer
extends Object
implements ThreadSnapshotCategorizer


Constructor Summary
SimpleCategorizer()
           
SimpleCategorizer(Map<String,ThreadSnapshotFilter> categories)
           
 
Method Summary
 void addCategory(String category, ThreadSnapshotFilter filter)
           
 String categorize(ThreadSnapshot snap)
           
 List<String> getCategories()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCategorizer

public SimpleCategorizer()

SimpleCategorizer

public SimpleCategorizer(Map<String,ThreadSnapshotFilter> categories)
Method Detail

addCategory

public void addCategory(String category,
                        ThreadSnapshotFilter filter)

getCategories

public List<String> getCategories()
Specified by:
getCategories in interface ThreadSnapshotCategorizer

categorize

public String categorize(ThreadSnapshot snap)
Specified by:
categorize in interface ThreadSnapshotCategorizer


Copyright © 2019. All Rights Reserved.