Package org.exist.storage.statistics

Examples of org.exist.storage.statistics.IndexStatisticsWorker$DocumentCallback


    public UpdateStatistics(XQueryContext context) {
        super(context, signature);
    }

    public Sequence eval(Sequence[] args, Sequence contextSequence) throws XPathException {
        final IndexStatisticsWorker index = (IndexStatisticsWorker)
            context.getBroker().getIndexController().getWorkerByIndexId(IndexStatistics.ID);
        if (index != null) {
            index.updateIndex(context.getBroker());
        } else {
          logger.error("The module may not be enabled!");
        }
        return Sequence.EMPTY_SEQUENCE;
    }
View Full Code Here

TOP

Related Classes of org.exist.storage.statistics.IndexStatisticsWorker$DocumentCallback

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.