KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jmeter > visualizers > Sample


1 // $Header: /home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/visualizers/Attic/Sample.java,v 1.6 2004/02/13 01:48:46 sebb Exp $
2
/*
3  * Copyright 2000-2004 The Apache Software Foundation.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17 */

18
19 package org.apache.jmeter.visualizers;
20
21
22 import java.io.Serializable JavaDoc;
23
24
25 /**
26  * @author Michael Stover
27  * @version 1.0
28  */

29
30 public class Sample implements Serializable JavaDoc
31 {
32     public long data;
33     public long average;
34     public long median;
35     public long deviation;
36     public float throughput;
37     public boolean error = false;
38
39     /**
40      * Constructor for the Sample object
41      *
42      *@param data Description of Parameter
43      *@param average Description of Parameter
44      *@param deviation Description of Parameter
45      */

46     public Sample(
47         long data,
48         long average,
49         long deviation,
50         float throughput,
51         long median,
52         boolean error)
53     {
54         this.data = data;
55         this.average = average;
56         this.deviation = deviation;
57         this.throughput = throughput;
58         this.error = error;
59         this.median = median;
60     }
61
62     public Sample()
63     {}
64 }
65
Popular Tags