Package com.ajjpj.asysmon.measure

Examples of com.ajjpj.asysmon.measure.AMeasureCallbackVoidNoThrow


    @Override public void doFilter(final ServletRequest servletRequest, final ServletResponse servletResponse, final FilterChain filterChain) throws IOException, ServletException {
        final AHttpRequestDetails details = analyzer.analyze((HttpServletRequest) servletRequest);

        final AOption<String> optIdentifier = details.getIdentifier();
        if(optIdentifier.isDefined()) {
            getSysMon().measure(optIdentifier.get(), new AMeasureCallbackVoidNoThrow() {
                @Override public void call(AWithParameters m) {
                    for(Map.Entry<String, String> entry: details.getParameters().entrySet()) {
                        m.addParameter(entry.getKey(), entry.getValue());
                    }
View Full Code Here


    @Override public void doFilter(final ServletRequest servletRequest, final ServletResponse servletResponse, final FilterChain filterChain) throws IOException, ServletException {
        final AHttpRequestDetails details = analyzer.analyze((HttpServletRequest) servletRequest);

        final AOption<String> optIdentifier = details.getIdentifier();
        if(optIdentifier.isDefined()) {
            getSysMon().measure(optIdentifier.get(), new AMeasureCallbackVoidNoThrow() {
                @Override public void call(AWithParameters m) {
                    for(Map.Entry<String, String> entry: details.getParameters().entrySet()) {
                        m.addParameter(entry.getKey(), entry.getValue());
                    }
View Full Code Here

TOP

Related Classes of com.ajjpj.asysmon.measure.AMeasureCallbackVoidNoThrow

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.