Package com.foundationdb.server.service.monitor

Examples of com.foundationdb.server.service.monitor.PreparedStatementMonitor


                    if (!sessions.hasNext()) {
                        return null;
                    }
                    statements = sessions.next().getPreparedStatements().iterator();
                }
                PreparedStatementMonitor preparedStatement = statements.next();
                ValuesRow row = new ValuesRow(rowType,
                                              (long)preparedStatement.getSessionId(),
                                              preparedStatement.getName(),
                                              preparedStatement.getSQL(),
                                              preparedStatement.getPrepareTimeMillis()/1000,
                                              preparedStatement.getEstimatedRowCount() < 0 ? null : (long)preparedStatement.getEstimatedRowCount(),
                                              ++rowCounter);
                return row;
            }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.service.monitor.PreparedStatementMonitor

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.