Examples of incrementNum()


Examples of org.auraframework.service.LoggingService.incrementNum()

     * thing exists in its apex counterpart.
     */
    public Object getValueFrom(Object obj) {
        try {
            LoggingService loggingService = Aura.getLoggingService();
            loggingService.incrementNum("JavaCallCount");
            return getter.invoke(obj);
        } catch (IllegalArgumentException e) {
            throw new AuraRuntimeException(e);
        } catch (IllegalAccessException e) {
            throw new AuraRuntimeException(e);
View Full Code Here

Examples of org.auraframework.service.LoggingService.incrementNum()

                    this.valueProviders.put(ValueProviderType.CONTROLLER.getPrefix(), cd);
                }
            }

            loggingService.incrementNum(LoggingService.CMP_COUNT);
        } finally {
            loggingService.stopTimer(LoggingService.TIMER_COMPONENT_CREATION);
        }
    }
View Full Code Here

Examples of org.auraframework.service.LoggingService.incrementNum()

                } catch (IllegalAccessException iae) {
                    throw makeException("no such property: " + part, iae, def);
                } catch (InvocationTargetException ite) {
                    throw makeException(ite.getCause().getMessage(), ite.getCause(), def);
                }
                loggingService.incrementNum("JavaCallCount");
            }
            ValueProvider vp;
            if (def != null) {
                TypeDef typeDef = def.getType(part);
                vp = (ret instanceof ValueProvider) ? (ValueProvider) ret : (ValueProvider) typeDef.wrap(ret);
View Full Code Here

Examples of org.auraframework.service.LoggingService.incrementNum()

        loggingService.stopTimer(LoggingService.TIMER_AURA);
        loggingService.startTimer("java");
        try {
            if (configProvider != null) {
                config = configProvider.provide();
                loggingService.incrementNum("JavaCallCount");
            } else if (descriptorProvider != null) {
                config = new ComponentConfig();
                config.setDescriptor(descriptorProvider.provide());
                loggingService.incrementNum("JavaCallCount");
            }
View Full Code Here

Examples of org.auraframework.service.LoggingService.incrementNum()

                config = configProvider.provide();
                loggingService.incrementNum("JavaCallCount");
            } else if (descriptorProvider != null) {
                config = new ComponentConfig();
                config.setDescriptor(descriptorProvider.provide());
                loggingService.incrementNum("JavaCallCount");
            }
        } catch (Exception e) {
            throw AuraExceptionUtil.wrapExecutionException(e, this.location);
        } finally {
            loggingService.stopTimer("java");
View Full Code Here

Examples of org.auraframework.service.LoggingService.incrementNum()

        loggingService.stopTimer(LoggingService.TIMER_AURA);
        loggingService.startTimer("java");

        try {
            config = staticConfigProvider.provide(ref);
            loggingService.incrementNum("JavaCallCount");
        } catch (Exception e) {
            throw AuraExceptionUtil.wrapExecutionException(e, this.location);
        } finally {
            loggingService.stopTimer("java");
            loggingService.startTimer(LoggingService.TIMER_AURA);
View Full Code Here

Examples of org.auraframework.service.LoggingService.incrementNum()

        LoggingService loggingService = Aura.getLoggingService();
        loggingService.stopTimer(LoggingService.TIMER_AURA);
        loggingService.startTimer("java");
        try {
            loggingService.incrementNum("JavaCallCount");
            this.returnValue = this.actionDef.getMethod().invoke(bean, args);
            this.state = State.SUCCESS;
        } catch (InvocationTargetException e) {
            // something bad happened in the body of the action itself
            // getCause() unwraps the InvocationTargetException, gives us the
View Full Code Here

Examples of org.auraframework.service.LoggingService.incrementNum()

                    name);
            this.hashCode = this.qualifiedName.toLowerCase().hashCode();
        } finally {
            loggingService.stopTimer(LoggingService.TIMER_DEF_DESCRIPTOR_CREATION);
        }
        loggingService.incrementNum(LoggingService.DEF_DESCRIPTOR_COUNT);
    }

    @Override
    public DefDescriptor<P> getParentDescriptor() {
        return parentDescriptor;
View Full Code Here

Examples of org.auraframework.service.LoggingService.incrementNum()

        LoggingService loggingService = Aura.getLoggingService();
        loggingService.stopTimer(LoggingService.TIMER_AURA);
        loggingService.startTimer("java");
        try {
            renderer.render(component, out);
            loggingService.incrementNum("JavaCallCount");
        } catch (Exception e) {
            throw AuraExceptionUtil.wrapExecutionException(e, this.location);
        } finally {
            loggingService.stopTimer("java");
            loggingService.startTimer(LoggingService.TIMER_AURA);
View Full Code Here

Examples of org.auraframework.service.LoggingService.incrementNum()

            this.nameParameters = pos >= 0 ? name.substring(pos).replaceAll("\\s", "") : null;
            this.hashCode = createHashCode();
        } finally {
            loggingService.stopTimer(LoggingService.TIMER_DEF_DESCRIPTOR_CREATION);
        }
        loggingService.incrementNum(LoggingService.DEF_DESCRIPTOR_COUNT);
    }

    private DefDescriptorImpl(String qualifiedName, Class<T> defClass, DefDescriptor<?> bundle) {
        this.bundle = bundle;
        LoggingService loggingService = Aura.getLoggingService();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.