org.apache.excalibur.event.command
Interface ThreadManager


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

static final java.lang.String ROLE
Method Detail

register

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

Parameters:
pipeline - The pipeline to register

deregister

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

Parameters:
pipeline - The pipeline to unregister

deregisterAll

void deregisterAll()
Deregisters all EventPipelines from this ThreadManager



Copyright © {inceptionYear}-2009 Apache Software Foundation. All Rights Reserved.