org.apache.jetspeed.statistics.impl
Class BatchedPageStatistics
java.lang.Object
org.apache.jetspeed.statistics.impl.BatchedStatistics
org.apache.jetspeed.statistics.impl.BatchedPageStatistics
- All Implemented Interfaces:
- java.lang.Runnable
public class BatchedPageStatistics
- extends BatchedStatistics
BatchedPageStatistics
- Version:
- $Id: TestPortletEntityDAO.java,v 1.3 2005/05/24 14:43:19 ate Exp $
- Author:
- Chris Schaefer , David Sean Taylor
Constructor Summary |
BatchedPageStatistics(javax.sql.DataSource ds,
int batchSize,
long msElapsedTimeThreshold,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchedPageStatistics
public BatchedPageStatistics(javax.sql.DataSource ds,
int batchSize,
long msElapsedTimeThreshold,
java.lang.String name)
canDoRecordType
public boolean canDoRecordType(LogRecord rec)
- Specified by:
canDoRecordType
in class BatchedStatistics
loadOneRecordToStatement
protected void loadOneRecordToStatement(java.sql.PreparedStatement stm,
LogRecord rec)
throws java.sql.SQLException
- Specified by:
loadOneRecordToStatement
in class BatchedStatistics
- Parameters:
stm
- recordIterator
-
- Throws:
java.sql.SQLException
getPreparedStatement
protected java.sql.PreparedStatement getPreparedStatement(java.sql.Connection con)
throws java.sql.SQLException
- Specified by:
getPreparedStatement
in class BatchedStatistics
- Parameters:
con
-
- Returns:
-
- Throws:
java.sql.SQLException
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.