Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.stats
Class ReadStatsManager.BytesTask

java.lang.Object
  extended by com.jivesoftware.base.stats.ReadStatsManager.BytesTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ReadStatsManager

public static class ReadStatsManager.BytesTask
extends java.lang.Object
implements java.lang.Runnable

An internal class which updates the bytesSent field of a HTTPReadStatSession or NNTPReadStatSession object to the database. This task is run every few seconds.


Constructor Summary
ReadStatsManager.BytesTask(java.util.Map updatedSessions)
           
 
Method Summary
 void run()
           
protected  void storeExtraSessions(ReadStatSession[] rsSessions, java.sql.Connection con, java.sql.PreparedStatement pstmt, boolean canBatch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadStatsManager.BytesTask

public ReadStatsManager.BytesTask(java.util.Map updatedSessions)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

storeExtraSessions

protected void storeExtraSessions(ReadStatSession[] rsSessions,
                                  java.sql.Connection con,
                                  java.sql.PreparedStatement pstmt,
                                  boolean canBatch)

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.