KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > stat > CategorizedStatistics


1 //$Id: CategorizedStatistics.java,v 1.1 2005/06/09 06:33:06 oneovthafew Exp $
2
package org.hibernate.stat;
3
4 import java.io.Serializable JavaDoc;
5
6 /**
7  * Statistics for a particular "category" (a named entity,
8  * collection role, second level cache region or query).
9  *
10  * @author Gavin King
11  */

12 public class CategorizedStatistics implements Serializable JavaDoc {
13     
14     private final String JavaDoc categoryName;
15
16     CategorizedStatistics(String JavaDoc categoryName) {
17         this.categoryName = categoryName;
18     }
19     
20     public String JavaDoc getCategoryName() {
21         return categoryName;
22     }
23 }
24
Popular Tags