Class MetricReceiver.MockReceiver

    • Constructor Detail

      • MockReceiver

        public MockReceiver()
    • Method Detail

      • getSnapshot

        public Bucket getSnapshot()
        gathers all data since last snapshot
        Overrides:
        getSnapshot in class MetricReceiver
        Returns:
        the latest five minutes of metrics
      • point

        public Point point​(java.lang.String dim,
                           java.lang.String val)
        utility method for testing