01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.metric;
12:
13: import java.util.List;
14:
15: /**
16: * Classes that keep performance metrics implement this.
17: */
18: public interface HasMetrics {
19:
20: /**
21: * Add all Metric's to the List.
22: */
23: public void addMetrics(List list);
24:
25: /**
26: * Get values for our metrics.
27: */
28: public void sampleMetrics(int[][] buf, int pos);
29:
30: }
|