Examples of addLog4JEvent()


Examples of org.jboss.dashboard.profiler.ThreadProfile.addLog4JEvent()

    void onAppend(LoggingEvent event) {
        // Attach the event to the current thread.
        if (ComponentsContextManager.isContextStarted()) {
            ThreadProfile threadProfile = Profiler.lookup().getCurrentThreadProfile();
            if (threadProfile != null) threadProfile.addLog4JEvent(event);
        }
        // Calculate the current throughput.
        calculateThroughput();

        // Avoid high throughput.
View Full Code Here

Examples of org.jboss.dashboard.profiler.ThreadProfile.addLog4JEvent()

    void onAppend(LoggingEvent event) {
        // Attach the event to the current thread.
        if (ComponentsContextManager.isContextStarted()) {
            ThreadProfile threadProfile = Profiler.lookup().getCurrentThreadProfile();
            if (threadProfile != null) threadProfile.addLog4JEvent(event);
        }
        // Calculate the current throughput.
        calculateThroughput();

        // Avoid high throughput.
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.