org.olat.course.statistic
Class AsyncExportManager

java.lang.Object
  extended by org.olat.course.statistic.AsyncExportManager

public class AsyncExportManager
extends java.lang.Object

Handles asynchronous aspects of log export - including limiting the number of concurrent exports

Initial Date: 13.01.2010

Author:
Stefan

Method Summary
 void asyncArchiveCourseLogFiles(Identity identity, java.lang.Runnable callback, java.lang.Long oresID, java.lang.String exportDir, java.util.Date begin, java.util.Date end, boolean adminLog, boolean userLog, boolean statisticLog, java.lang.String charset, java.util.Locale locale, java.lang.String email)
           
 boolean asyncArchiveCourseLogOngoingFor(Identity identity)
           
static AsyncExportManager getInstance()
           
 void setConcurrentExportsPerNode(int concurrentExportsPerNode)
          called via spring, sets the number of concurrent exports within one node, default is 2
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final AsyncExportManager getInstance()
Returns:
Singleton.

setConcurrentExportsPerNode

public void setConcurrentExportsPerNode(int concurrentExportsPerNode)
called via spring, sets the number of concurrent exports within one node, default is 2


asyncArchiveCourseLogFiles

public void asyncArchiveCourseLogFiles(Identity identity,
                                       java.lang.Runnable callback,
                                       java.lang.Long oresID,
                                       java.lang.String exportDir,
                                       java.util.Date begin,
                                       java.util.Date end,
                                       boolean adminLog,
                                       boolean userLog,
                                       boolean statisticLog,
                                       java.lang.String charset,
                                       java.util.Locale locale,
                                       java.lang.String email)

asyncArchiveCourseLogOngoingFor

public boolean asyncArchiveCourseLogOngoingFor(Identity identity)