org.apache.excalibur.event.command
Interface ThreadManager

All Known Implementing Classes:
AbstractThreadManager, TPSPThreadManager

public interface ThreadManager

A ThreadManager handles the thread policies for EventPipelines. It works hand in hand with the CommandManager, and can be expanded to work with a SEDA like architecture.

Author:
Avalon Development Team

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void deregister(EventPipeline pipeline)
          Deregister an EventPipeline with the ThreadManager
 void deregisterAll()
          Deregisters all EventPipelines from this ThreadManager
 void register(EventPipeline pipeline)
          Register an EventPipeline with the ThreadManager.
 

Field Detail

ROLE

public static final java.lang.String ROLE
Method Detail

register

public void register(EventPipeline pipeline)
Register an EventPipeline with the ThreadManager.

Parameters:
pipeline - The pipeline to register

deregister

public void deregister(EventPipeline pipeline)
Deregister an EventPipeline with the ThreadManager

Parameters:
pipeline - The pipeline to unregister

deregisterAll

public void deregisterAll()
Deregisters all EventPipelines from this ThreadManager



Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.