Package com.jitlogic.zorka.common.tracedata

Examples of com.jitlogic.zorka.common.tracedata.FressianTraceWriter


     * @param maxSize  maximum file size
     * @param compress output file will be compressed if true
     * @return trace file writer
     */
    public ZorkaAsyncThread<SymbolicRecord> toFile(String path, int maxFiles, long maxSize, boolean compress) {
        TraceWriter writer = new FressianTraceWriter(symbolRegistry, metricsRegistry);
        FileTraceOutput output = new FileTraceOutput(writer, new File(config.formatCfg(path)), maxFiles, maxSize, compress);
        output.start();
        return output;
    }
View Full Code Here


     * @throws IOException
     */
    public ZorkaAsyncThread<SymbolicRecord> toZico(String addr, int port, String hostname, String auth,
                                                   int qlen, long packetSize, int retries, long retryTime, long retryTimeExp,
                                                   int timeout) throws IOException {
        TraceWriter writer = new FressianTraceWriter(symbolRegistry, metricsRegistry);
        ZicoTraceOutput output = new ZicoTraceOutput(writer, addr, port, hostname, auth, qlen, packetSize,
                retries, retryTime, retryTimeExp, timeout);
        output.start();
        return output;
    }
View Full Code Here

TOP

Related Classes of com.jitlogic.zorka.common.tracedata.FressianTraceWriter

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.