KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > stats > DSOClassInfo


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.stats;
5
6 import java.io.Serializable JavaDoc;
7
8 public class DSOClassInfo implements Serializable JavaDoc {
9   private final String JavaDoc className;
10   private final int instanceCount;
11
12   public DSOClassInfo(String JavaDoc className, int instanceCount) {
13     this.className = className;
14     this.instanceCount = instanceCount;
15   }
16
17   public String JavaDoc getClassName() {
18     return className;
19   }
20
21   public int getInstanceCount() {
22     return instanceCount;
23   }
24 }
25
Popular Tags