Package org.apache.openjpa.trader.domain

Examples of org.apache.openjpa.trader.domain.LogStatement


                &&  (bid.getPrice() >= ask.getPrice())
                &&  (bid.getVolume()) <= ask.getVolume());
    }
   
    private void log(String s) {
        _logs.add(new LogStatement("INFO", "Context", "Thread", "Channel", s));
        System.err.println("server log:" + s );
    }
View Full Code Here


            String msg = message == null ? null : message.toString();
            msg = extractQuery(msg);
            if (msg == null) {
                return;
            }
            addStatement(new LogStatement(level, getContext(),
                    _thread, _channel, msg));
            if (t != null) {
                StringWriter buffer = new StringWriter();
                t.printStackTrace(new PrintWriter(buffer));
                addStatement(new LogStatement(
                        level, getContext(),
                        Thread.currentThread().getName(), _channel,
                        buffer.toString()));
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.openjpa.trader.domain.LogStatement

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.