Package com.codahale.metrics.graphite

Examples of com.codahale.metrics.graphite.PickledGraphite


      }
      else if ("udp".equals(transport)) {
        graphite = new GraphiteUDP(hostname, port);
      }
      else if ("pickle".equals(transport)) {
        graphite = new PickledGraphite(hostname, port, SocketFactory.getDefault(), charset, getProperty(BATCH_SIZE, Integer.TYPE, 100));
      }
      else {
        throw new IllegalArgumentException("Invalid graphite transport: " + transport);
      }
    }
View Full Code Here


            final InetSocketAddress graphiteAddress = new InetSocketAddress(
                    address, port);

            final GraphiteSender sender;
            if (isPickled) {
                sender = new PickledGraphite(graphiteAddress);
            } else {
                sender = new Graphite(graphiteAddress);
            }

            reporter = GraphiteReporter
View Full Code Here

TOP

Related Classes of com.codahale.metrics.graphite.PickledGraphite

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.