public abstract class AbstractDatabaseBatchTask<S extends ServerContext> extends AbstractBatchTask<S>
childTaskRef, isTestMode, monitorController, resultRef, stateFlag
Constructor and Description |
---|
AbstractDatabaseBatchTask(S serverCtx,
BatchTaskConfigEntry cfg) |
Modifier and Type | Method and Description |
---|---|
void |
notifyProgress(DBObject[] recs) |
void |
notifyProgress(DBObject[] recs,
int i) |
void |
sendDoneRecords(DBObject[] recs) |
void |
sendFoundRecords(DBObject[] recs,
SqlCondition cond) |
void |
sendReadMasterRecords(DBObject rec) |
void |
sendReadReferencingRecords(DBObject rec) |
createTaskMonitor, doOnCancel, doOnFinish, doOnStart, equals, getCurrentFuture, getProcessConfigEntry, hashCode, lockDataSource, notifyProgress, notifyProgress, releaseLock, resetToDefaultDataSource, resetToPreviousDataSource, selectDataSource, setConfigEntry, submitForDirectExecution, submitForScheduledExecution, toString
addMonitor, cancel, createRunStateFlag, createTaskId, getKillerSessionId, getOwnerSessionId, getRunStateFlag, getSessionId, getTaskId, setSessionId, submit, submit
executeSubTask, getServerContext
awaitFinished, awaitFinished, awaitStarted, cancel, deregisterTask, doOnSuccess, executeAsync, executeChildTask, executeChildTask, getMaxChildTasks, getPriority, getProcessingDuration, getStartTime, getStopWatch, handleFinish, handleStart, handleSuccess, isRegisterForCancel, isRunning, notifyProceeded, registerTask, releaseStart, run, setCurrentFuture, setMaxChildTasks, setPriority, setRegisterForCancel, setReleaseTimeout, submitInternal, wasSucceeded
checkCancelled, checkForErrorAndRethrow, clearMonitors, doOnFailure, execute, executeSubTask, getError, getMaxProgressSteps, getMonitorCount, getMonitors, getName, getProgressStepCount, getResult, getType, handleCancellation, handleFailure, hasError, hasMonitor, isCancellable, registerTaskStateChange, removeMonitor, resetProgress, setCancellable, setLogLevel, setMaxProgressSteps, setMonitor, setName, setName, setResult, setRunStateFlag, setTaskId, setType, shouldFireMonitor, sleepChecked, wasCancelled
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
awaitFinished, awaitFinished, awaitStarted, executeChildTask, executeChildTask, getError, getProcessingDuration, hasError, isRegisterForCancel, isRunning, releaseStart, setName, setReleaseTimeout
checkCancelled, checkForErrorAndRethrow, executeAsync, executeSubTask, getName, getResult, getType, handleCancellation, handleFailure, isCancellable, notifyProceeded, setCancellable, setName, setResult, setRunStateFlag, sleepChecked
getApplicationContext
execute
clearMonitors, getMonitorCount, getMonitors, hasMonitor, removeMonitor
getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
cancel
wasCancelled
toDumpString, toDumpString, toString
getServerContext
public AbstractDatabaseBatchTask(S serverCtx, BatchTaskConfigEntry cfg)
public void notifyProgress(DBObject[] recs)
public void notifyProgress(DBObject[] recs, int i)
public void sendFoundRecords(DBObject[] recs, SqlCondition cond)
public void sendDoneRecords(DBObject[] recs)
public void sendReadReferencingRecords(DBObject rec)
public void sendReadMasterRecords(DBObject rec)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.