public class RSSThread extends WikiBackgroundThread
| Constructor and Description |
|---|
RSSThread(Engine engine,
java.io.File rssFile,
int rssInterval)
Create a new RSS thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
backgroundTask()
Runs the RSS generator thread.
|
void |
startupTask()
Executes a task just after the thread's
Thread.run() method starts, but before the WikiBackgroundThread.backgroundTask() task executes. |
actionPerformed, getEngine, run, shutdown, shutdownTaskactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void startupTask()
Thread.run() method starts, but before the WikiBackgroundThread.backgroundTask() task executes.
By default, this method does nothing; override it to implement custom functionality.startupTask in class WikiBackgroundThreadpublic void backgroundTask() throws java.lang.Exception
false.backgroundTask in class WikiBackgroundThreadjava.lang.Exception - All exceptions are thrown upwards.Thread.run()Copyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.