KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > metric > DerivedMetric


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.metric;
13
14 /**
15  * A performance metric derived from the value(s) of other metrics.
16  * @keep-all
17  */

18 public abstract class DerivedMetric extends Metric {
19
20     public DerivedMetric(String JavaDoc name, String JavaDoc displayName, String JavaDoc category,
21             String JavaDoc descr, int decimals) {
22         super(name, displayName, category, descr, decimals);
23     }
24
25     /**
26      * How many arguments does this metric accept? Return 0 for any number
27      * of arguments.
28      */

29     public abstract int getArgCount();
30
31 }
32
33
Popular Tags