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: /**
14: * A performance metric derived from the value(s) of other metrics.
15: * @keep-all
16: */
17: public abstract class DerivedMetric extends Metric {
18:
19: public DerivedMetric(String name, String displayName,
20: String category, String descr, int decimals) {
21: super (name, displayName, category, descr, decimals);
22: }
23:
24: /**
25: * How many arguments does this metric accept? Return 0 for any number
26: * of arguments.
27: */
28: public abstract int getArgCount();
29:
30: }
|