source: proiecte/HadoopJUnit/hadoop-0.20.1/src/core/org/apache/hadoop/metrics/file/package.html @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1<html>
2
3<!--
4   Licensed to the Apache Software Foundation (ASF) under one or more
5   contributor license agreements.  See the NOTICE file distributed with
6   this work for additional information regarding copyright ownership.
7   The ASF licenses this file to You under the Apache License, Version 2.0
8   (the "License"); you may not use this file except in compliance with
9   the License.  You may obtain a copy of the License at
10
11       http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18-->
19
20<body>
21Implementation of the metrics package that writes the metrics to a file.
22Programmers should not normally need to use this package directly. Instead
23they should use org.hadoop.metrics.
24
25<p/>
26These are the implementation specific factory attributes
27(See ContextFactory.getFactory()):
28
29<dl>
30    <dt><i>contextName</i>.fileName</dt>
31    <dd>The path of the file to which metrics in context <i>contextName</i>
32    are to be appended.  If this attribute is not specified, the metrics
33    are written to standard output by default.</dd>
34   
35    <dt><i>contextName</i>.period</dt>
36    <dd>The period in seconds on which the metric data is written to the
37    file.</dd>
38   
39</dl>
40
41
42</body>
43</html>
Note: See TracBrowser for help on using the repository browser.