public class CounterSetQuery extends Object
URLQueryModel
s.
A single pass is made through the specified XML counter set files. Each file
is read into memory by itself, and each query implied by a listed URL is run
against the in-memory CounterSet
hierarchy. The results are collected
in independent CounterSet
provisioned for the specified reporting
units, etc. Once the last XML counter set file has been processed, the
various reports requested by the listed URLs are generated.
For each generated report, the name of the file on which the report will be written is taken from the name of the counter whose value was extracted for that report. This filename may be overridden by including the URL query parameter , which specifies the file on which to write the report for that query.
IHostCounters
,
IRequiredHostCounters
Constructor and Description |
---|
CounterSetQuery() |
public static void main(String[] args) throws IOException, SAXException, ParserConfigurationException, InterruptedException, ExecutionException
Usage:
text/plain
, but can be overridden on a query by query basis
using URLQueryModel.MIMETYPE
.Event
s. The Event
s
are not required for simple performance counter views.URLQueryModel
.args
- Command line arguments.IOException
ParserConfigurationException
SAXException
ExecutionException
InterruptedException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.