Package com.ning.metrics.meteo.publishers

Examples of com.ning.metrics.meteo.publishers.ResourceListener


                                      @PathParam("stream") final String stream,
                                      @PathParam("attribute") final String attribute)
    {
        Cache<Object, Object> samplesCache = null;

        final ResourceListener resourceListener = (ResourceListener) compiler.getPublisherInstances().get(stream);
        if (resourceListener != null) {
            final Map<String, Cache<Object, Object>> samples = resourceListener.getSamplesCache();
            samplesCache = samples.get(attribute);
        }

        return buildJsonpResponse(attribute, samplesCache, callback);
    }
View Full Code Here

TOP

Related Classes of com.ning.metrics.meteo.publishers.ResourceListener

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.