| org.apache.jetspeed.aggregator.Worker
All known Subclasses: org.apache.jetspeed.aggregator.impl.WorkerImpl,
Worker | public interface Worker (Code) | | Worker thread processes jobs and notify its WorkerMonitor when completed.
When no work is available, the worker simply sets itself in a waiting mode
pending reactivation by the WorkerMonitor
author: David Sean Taylor version: $Id: $ |
getJobCount | int getJobCount()(Code) | | |
resetJobCount | void resetJobCount()(Code) | | Reset the processed job counter
|
setRunning | void setRunning(boolean status)(Code) | | Sets the running status of this Worker. If set to false, the Worker will
stop after processing its current job.
|
|
|