phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samarthjain <>
Subject [GitHub] phoenix pull request: working additions of pherf to phoenix as a p...
Date Wed, 11 Mar 2015 18:47:18 GMT
Github user samarthjain commented on a diff in the pull request:
    --- Diff: phoenix-pherf/src/main/java/org/apache/phoenix/pherf/jmx/
    @@ -0,0 +1,174 @@
    + * Licensed to the Apache Software Foundation (ASF) under one
    + *   or more contributor license agreements.  See the NOTICE file
    + *   distributed with this work for additional information
    + *   regarding copyright ownership.  The ASF licenses this file
    + *   to you under the Apache License, Version 2.0 (the
    + *   "License"); you may not use this file except in compliance
    + *   with the License.  You may obtain a copy of the License at
    + *
    + *
    + *
    + *   Unless required by applicable law or agreed to in writing, software
    + *   distributed under the License is distributed on an "AS IS" BASIS,
    + *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + *   See the License for the specific language governing permissions and
    + *   limitations under the License.
    + */
    +package org.apache.phoenix.pherf.jmx;
    +import org.apache.phoenix.pherf.PherfConstants;
    +import org.apache.phoenix.pherf.exception.FileLoaderRuntimeException;
    +import org.apache.phoenix.pherf.jmx.monitors.Monitor;
    +import org.apache.phoenix.pherf.result.file.ResultFileDetails;
    +import org.apache.phoenix.pherf.result.impl.CSVResultHandler;
    +import org.apache.phoenix.pherf.result.Result;
    +import org.apache.phoenix.pherf.result.ResultHandler;
    +import org.apache.phoenix.util.DateUtil;
    +import java.util.*;
    + * This class starts JMX stats for the configured monitors. Monitors should be configured
in MonitorDetails Enum.
    + * Each stat implements {@link org.apache.phoenix.pherf.jmx.monitors.Monitor}.
    + *
    + * For the duration of any Pherf run, when the configured {@link org.apache.phoenix.pherf.PherfConstants#MONITOR_FREQUENCY}
    + * is reached a snapshot of each monitor is taken and dumped out to a log file.
    + */
    +public class MonitorManager implements Runnable {
    --- End diff --
    Can an instance of MonitorManager be modified/read by multiple threads at the same time?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message