Package org.apache.phoenix.trace

Examples of org.apache.phoenix.trace.TestableMetricsWriter


    /**
     * Register the sink with the metrics system, so we don't need to specify it in the conf
     * @param sink
     */
    public static void registerSink(MetricsWriter sink) {
        TestableMetricsWriter writer = newTraceMetricSink();
        writer.setWriterForTesting(sink);
        Metrics.getManager().register("phoenix", "test sink gets logged", writer);
    }
View Full Code Here

TOP

Related Classes of org.apache.phoenix.trace.TestableMetricsWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.