KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > clustering > Statistics


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.clustering;
11
12 import org.mmbase.module.core.MMObjectNode;
13 import org.mmbase.util.logging.Logger;
14 import org.mmbase.util.logging.Logging;
15
16 /**
17  * A structute for basic statistical information about receiving an sending messages in the cluster.
18  * @version $Id: Statistics.java,v 1.1 2006/06/20 17:30:45 michiel Exp $
19  */

20 public class Statistics {
21
22     public long count = 0;
23     public long cost = 0; // ms
24
public long parseCost = 0; //ms
25
public long bytes = 0;
26
27     // get methods to make them available to EL. (java is a bit silly..)
28
public long getCount() {
29         return count;
30     }
31     public long getCost() {
32         return cost;
33     }
34     public long getParseCost() {
35         return parseCost;
36     }
37     public long getBytes() {
38         return bytes;
39     }
40 }
41
42
Popular Tags