Package com.foundationdb.server.service.routines

Examples of com.foundationdb.server.service.routines.ScriptInvoker


        }
    }

    @Override   
    public void invokeShielded() {
        ScriptInvoker invoker = pool.get();
        boolean success = false;
        try {
            functionResult = invoker.invoke(functionArgs);
            success = true;
        }
        finally {
            pool.put(invoker, !success);
        }
View Full Code Here


    }

    @Override
    public CompoundExplainer getExplainer(ExplainContext context) {
        Attributes atts = new Attributes();
        ScriptInvoker invoker = pool.get();
        ScriptLibrary library = invoker.getLibrary();
        atts.put(Label.PROCEDURE_IMPLEMENTATION,
                 PrimitiveExplainer.getInstance(library.getEngineName()));
        atts.put(Label.PROCEDURE_IMPLEMENTATION,
                 PrimitiveExplainer.getInstance(invoker.getFunctionName()));
        if (library.isCompiled())
            atts.put(Label.PROCEDURE_IMPLEMENTATION,
                     PrimitiveExplainer.getInstance("compiled"));
        pool.put(invoker, true);       
        return new ServerCallExplainer(getInvocation(), atts, context);
View Full Code Here

TOP

Related Classes of com.foundationdb.server.service.routines.ScriptInvoker

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.