public class JournalTaskMonitor<S extends ServerContext> extends RemoteTaskMonitor<S>
RemoteTaskMonitor which stores all RemoteTaskEvents sent in a journalList.
In case the client disconnected and reconnects again, these events will be re-sent to the client such that the client
can re-attach to the remote task it had lost before.| Constructor and Description |
|---|
JournalTaskMonitor(JournalTask<S> journalTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
attachAndPlayEventJournal(SessionId sessionId) |
int |
getEventCount() |
java.util.List<RemoteTaskEvent> |
getJournalEventList() |
protected void |
sendRemoteTaskEvent(RemoteTaskEvent event) |
void |
setIgnoreConsoleOutput(boolean doIgnore)
If set to true, then PROGRESS events caused by console output are ignored.
|
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
getServerContext, taskCancelled, taskChildFinished, taskChildStarted, taskChildSucceeded, taskFailed, taskFinished, taskProceeded, taskStarted, taskSucceededacceptgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetApplicationContextpublic JournalTaskMonitor(JournalTask<S> journalTask)
public void setIgnoreConsoleOutput(boolean doIgnore)
protected void sendRemoteTaskEvent(RemoteTaskEvent event)
sendRemoteTaskEvent in class RemoteTaskMonitor<S extends ServerContext>public void attachAndPlayEventJournal(SessionId sessionId)
public int getEventCount()
public java.util.List<RemoteTaskEvent> getJournalEventList()
public ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class DumpableObjectpublic DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class DumpableObjectCopyright © 2014 EsprIT-Systems. All Rights Reserved.