public class ExRemoteCounterTask extends AbstractRemoteTask
childTaskRef, isTestMode, monitorController, resultRef, stateFlag| Constructor and Description |
|---|
ExRemoteCounterTask(ServerContext serverCtx,
int loops,
SessionId sessionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAsync()
Must be overridden to perform the async part.
|
addMonitor, cancel, createRunStateFlag, createTaskId, createTaskMonitor, getKillerSessionId, getOwnerSessionId, getRunStateFlag, getSessionId, getTaskId, setSessionId, submit, submitexecuteSubTask, getServerContextawaitFinished, awaitFinished, awaitStarted, cancel, deregisterTask, doOnFinish, doOnStart, doOnSuccess, executeChildTask, executeChildTask, getCurrentFuture, getMaxChildTasks, getPriority, getProcessingDuration, getStartTime, getStopWatch, handleFinish, handleStart, handleSuccess, isRegisterForCancel, isRunning, notifyProceeded, registerTask, releaseStart, run, setCurrentFuture, setMaxChildTasks, setPriority, setRegisterForCancel, setReleaseTimeout, submitInternal, toString, wasSucceededcheckCancelled, checkForErrorAndRethrow, clearMonitors, doOnCancel, doOnFailure, executeSubTask, executeSync, 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, wasCancelledgetApplicationConfig, getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitawaitFinished, awaitFinished, awaitStarted, executeChildTask, executeChildTask, getError, getProcessingDuration, hasError, isRegisterForCancel, isRunning, releaseStart, setReleaseTimeoutcheckCancelled, checkForErrorAndRethrow, executeSubTask, executeSync, getName, getResult, getType, handleCancellation, handleFailure, isCancellable, notifyProceeded, setCancellable, setName, setResult, setRunStateFlag, sleepCheckedgetApplicationContextclearMonitors, getMonitorCount, getMonitors, hasMonitor, removeMonitorgetLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelcancelwasCancelledtoDumpString, toDumpString, toString, toStringgetServerContextpublic ExRemoteCounterTask(ServerContext serverCtx, int loops, SessionId sessionId)
public void executeAsync()
throws java.lang.Exception
AbstractAsyncTaskAbstractAsyncTask.notifyProceeded(Object, int, int, String) in order to
notify about task progress.
Note: the running task should periodically call AbstractAsyncExecutable.checkCancelled() in order
to detect cancellation.executeAsync in interface AsyncExecutableexecuteAsync in class AbstractAsyncTaskjava.lang.Exceptionfor synchronous executionCopyright © 2011 EsprIT-Systems. All Rights Reserved.