01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2002-2006, GeoTools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.caching;
17:
18: /**
19: * @author crousson
20: *
21: */
22: class QueryStatistics {
23: private int numberOfFeatures;
24: private long executionTime;
25:
26: /**
27: * @return the executionTime
28: * @uml.property name="executionTime"
29: */
30: public long getExecutionTime() {
31: return executionTime;
32: }
33:
34: /**
35: * @param executionTime the executionTime to set
36: * @uml.property name="executionTime"
37: */
38: public void setExecutionTime(long executionTime) {
39: this .executionTime = executionTime;
40: }
41:
42: /**
43: * @return the numberOfFeatures
44: * @uml.property name="numberOfFeatures"
45: */
46: public int getNumberOfFeatures() {
47: return numberOfFeatures;
48: }
49:
50: /**
51: * @param numberOfFeatures the numberOfFeatures to set
52: * @uml.property name="numberOfFeatures"
53: */
54: public void setNumberOfFeatures(int numberOfFeatures) {
55: this.numberOfFeatures = numberOfFeatures;
56: }
57: }
|