| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.james.util.watchdog.ThreadPerWatchdogFactory
public class ThreadPerWatchdogFactory
This class is a factory to produce Watchdogs, each of which is associated with a single thread.
| Constructor Summary | |
|---|---|
ThreadPerWatchdogFactory(org.apache.excalibur.thread.ThreadPool theThreadPool,
                         long timeout)
Creates the factory and sets the thread pool used to generate InaccurateTimeoutWatchdogs.  | 
|
| Method Summary | |
|---|---|
 Watchdog | 
getWatchdog(WatchdogTarget theTarget)
Gets a Watchdog  | 
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled | 
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ThreadPerWatchdogFactory(org.apache.excalibur.thread.ThreadPool theThreadPool,
                                long timeout)
| Method Detail | 
|---|
public Watchdog getWatchdog(WatchdogTarget theTarget)
                     throws java.lang.Exception
WatchdogFactory
getWatchdog in interface WatchdogFactorytheTarget - the WatchdogTarget to be triggered upon expiration
java.lang.ExceptionWatchdogFactory.getWatchdog(WatchdogTarget)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||