public class RemoteTaskHistoryMonitor<S extends ServerContext> extends DefaultTaskMonitor<S> implements ServerObject<S>
TaskMonitor writes a history record for a RemoteTask when the task has finished.| Constructor and Description |
|---|
RemoteTaskHistoryMonitor(S serverCtx) |
| Modifier and Type | Method and Description |
|---|---|
S |
getServerContext()
Returns the server runtime environment
|
void |
taskFinished(RunStateFlag stateFlag)
Called when the async task finished
|
taskCancelled, taskChildFinished, taskChildStarted, taskChildSucceeded, taskFailed, taskProceeded, taskStarted, taskSucceededacceptgetApplicationContext, 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, waitgetApplicationContextpublic RemoteTaskHistoryMonitor(S serverCtx)
public void taskFinished(RunStateFlag stateFlag)
TaskMonitortaskFinished in interface TaskMonitor<S extends ServerContext>taskFinished in class DefaultTaskMonitor<S extends ServerContext>public final S getServerContext()
ServerObjectgetServerContext in interface ServerObject<S extends ServerContext>Copyright © 2014 EsprIT-Systems. All Rights Reserved.