Package org.exist.xquery

Examples of org.exist.xquery.Profiler


    }

    public Sequence eval(Sequence[] args, Sequence contextSequence)
            throws XPathException {
     
        final Profiler profiler = context.getProfiler();
        if (isCalledAs("enable-profiling")) {
            final int verbosity = ((IntegerValue)args[0].itemAt(0)).getInt();
            profiler.setEnabled(true);
            profiler.setVerbosity(verbosity);
        } else {
            profiler.setEnabled(false);
        }
        return Sequence.EMPTY_SEQUENCE;
    }
View Full Code Here

TOP

Related Classes of org.exist.xquery.Profiler

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.