public class AsyncAgentExecutorAdapter<C extends ApplicationContext> extends AbstractAsyncExecutable<C>
childTaskRef, isTestMode, monitorController, resultRef, stateFlag| Constructor and Description |
|---|
AsyncAgentExecutorAdapter(C serverCtx,
LogChannel logCh,
AsyncAgent agent) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAsync()
Contains the code to be executed asynchronously.
|
AsyncAgent |
getAgent() |
addMonitor, checkCancelled, checkForErrorAndRethrow, clearMonitors, createRunStateFlag, doOnCancel, doOnFailure, execute, executeSubTask, getError, getMaxProgressSteps, getMonitorCount, getMonitors, getName, getProgressStepCount, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, handleFinish, handleStart, handleSuccess, hasError, hasMonitor, isCancellable, notifyProceeded, registerTaskStateChange, removeMonitor, resetProgress, setCancellable, setLogLevel, setMaxProgressSteps, setMonitor, setName, setName, setResult, setRunStateFlag, setTaskId, setType, shouldFireMonitor, sleepChecked, wasCancelledgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetApplicationContextgetLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelpublic AsyncAgentExecutorAdapter(C serverCtx, LogChannel logCh, AsyncAgent agent)
public void executeAsync()
throws java.lang.Exception
AsyncExecutableRunnable.run() for async execution.executeAsync in interface AsyncExecutable<C extends ApplicationContext>executeAsync in class AbstractAsyncExecutable<C extends ApplicationContext>java.lang.Exceptionfor synchronous executionpublic AsyncAgent getAgent()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.