Examples of stopTimer()


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

            // * IllegalArgumentError: the conversion probably didn't work.
            // * IllegalAccessException: should not be possible.
            //
            addException(e, State.ERROR, true, false);
        } finally {
            loggingService.stopTimer("java");
            loggingService.startTimer(LoggingService.TIMER_AURA);
        }
    }

    @Override
View Full Code Here

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

                if (clientEvents != null && !clientEvents.isEmpty()) {
                    json.writeMapEntry("events", clientEvents);
                }
                json.writeMapEnd();
            } finally {
                loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION_AURA);
                loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION);
            }
        } finally {
            json.close();
        }
View Full Code Here

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

                    json.writeMapEntry("events", clientEvents);
                }
                json.writeMapEnd();
            } finally {
                loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION_AURA);
                loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION);
            }
        } finally {
            json.close();
        }
    }
View Full Code Here

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

            loggingService.startTimer(LoggingService.TIMER_SERIALIZATION);
            loggingService.startTimer(LoggingService.TIMER_SERIALIZATION_AURA);
            try {
                json.writeArrayEntry(action);
            } finally {
                loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION_AURA);
                loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION);
            }

            List<Action> additionalActions = action.getActions();
View Full Code Here

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

            loggingService.startTimer(LoggingService.TIMER_SERIALIZATION_AURA);
            try {
                json.writeArrayEntry(action);
            } finally {
                loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION_AURA);
                loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION);
            }

            List<Action> additionalActions = action.getActions();

            // Recursively process any additional actions created by the
View Full Code Here

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

                    name);
            this.descriptorName = String.format("%s/%s$%s", parentDescriptor.getDescriptorName(), defType.toString(),
                    name);
            this.hashCode = this.qualifiedName.toLowerCase().hashCode();
        } finally {
            loggingService.stopTimer(LoggingService.TIMER_DEF_DESCRIPTOR_CREATION);
        }
        loggingService.incrementNum(LoggingService.DEF_DESCRIPTOR_COUNT);
    }

    @Override
View Full Code Here

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

    }

    @Override
    public void serialize(Json json) throws IOException {
        LoggingService loggingService = Aura.getLoggingService();
        loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION_AURA);
        loggingService.stopTimer(LoggingService.TIMER_AURA);
        loggingService.startTimer("javascript");

        try {
            json.writeMap(bean);
View Full Code Here

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

    @Override
    public void serialize(Json json) throws IOException {
        LoggingService loggingService = Aura.getLoggingService();
        loggingService.stopTimer(LoggingService.TIMER_SERIALIZATION_AURA);
        loggingService.stopTimer(LoggingService.TIMER_AURA);
        loggingService.startTimer("javascript");

        try {
            json.writeMap(bean);
        } finally {
View Full Code Here

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

        loggingService.startTimer("javascript");

        try {
            json.writeMap(bean);
        } finally {
            loggingService.stopTimer("javascript");
            loggingService.startTimer(LoggingService.TIMER_AURA);
            loggingService.startTimer(LoggingService.TIMER_SERIALIZATION_AURA);
        }
    }
View Full Code Here

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

    }

    @Override
    public void render(BaseComponent<?, ?> component, Appendable out) throws IOException, QuickFixException {
        LoggingService loggingService = Aura.getLoggingService();
        loggingService.stopTimer(LoggingService.TIMER_AURA);
        loggingService.startTimer("java");
        try {
            renderer.render(component, out);
            loggingService.incrementNum("JavaCallCount");
        } catch (Exception e) {
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.