org.databene.task
Class TaskExecutor

java.lang.Object
  extended by org.databene.task.TaskExecutor

public class TaskExecutor
extends java.lang.Object

Single-threaded non-locking Task executor.

Created: 19.12.2012 09:54:56

Since:
0.8.0
Author:
Volker Bergmann

Method Summary
protected  long currentPageSize(java.lang.Long requestedInvocations, long queuedInvocations)
           
static void execute(Task task, org.databene.commons.Context context, java.lang.Long requestedInvocations, java.lang.Long minInvocations, java.util.List<PageListener> pageListeners, long pageSize, boolean stats, org.databene.commons.ErrorHandler errorHandler, boolean infoLog)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

execute

public static void execute(Task task,
                           org.databene.commons.Context context,
                           java.lang.Long requestedInvocations,
                           java.lang.Long minInvocations,
                           java.util.List<PageListener> pageListeners,
                           long pageSize,
                           boolean stats,
                           org.databene.commons.ErrorHandler errorHandler,
                           boolean infoLog)

currentPageSize

protected long currentPageSize(java.lang.Long requestedInvocations,
                               long queuedInvocations)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013. All Rights Reserved.