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, taskSucceeded
accept
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getApplicationContext
public RemoteTaskHistoryMonitor(S serverCtx)
public void taskFinished(RunStateFlag stateFlag)
TaskMonitor
taskFinished
in interface TaskMonitor<S extends ServerContext>
taskFinished
in class DefaultTaskMonitor<S extends ServerContext>
public final S getServerContext()
ServerObject
getServerContext
in interface ServerObject<S extends ServerContext>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.