de.nava.informa.utils.cleaner
Class CleanerWorkerThread
java.lang.Object
java.lang.Thread
de.nava.informa.utils.toolkit.WorkerThread
de.nava.informa.utils.cleaner.CleanerWorkerThread
- All Implemented Interfaces:
- Runnable
public class CleanerWorkerThread
- extends WorkerThread
Worker thread performing cleaning operations over channels.
Processing of channel consists of checking every item with registered matcher.
If checker says that the item matches the rule then there will be event thrown
to the observer.
- Author:
- Aleksey Gureev (spyromus@noizeramp.com)
- See Also:
WorkerThread
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, 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, yield |
CleanerWorkerThread
public CleanerWorkerThread(CleanerObserverIF observer,
CleanerMatcherIF matcher)
- Creates new worker thread object.
- Parameters:
observer
- observer of the cleaner.matcher
- matcher of the cleaner.
processRecord
protected final void processRecord(ChannelRecord record)
- Processes record.
- Specified by:
processRecord
in class WorkerThread
- Parameters:
record
- record to process.
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.