org.norther.tammi.core.thread
Interface ThreadedExecutor

All Superinterfaces:
Executor, ExecutorService, Startable
All Known Subinterfaces:
PooledExecutor
All Known Implementing Classes:
DefaultPooledExecutor, DefaultThreadedExecutor

public interface ThreadedExecutor
extends Executor

An interface to executors that run each executable in a new thread.

Version:
$Id: ThreadedExecutor.java,v 1.11 2009/09/28 15:08:43 cvsimp Exp $
Author:
Ilkka Priha

Method Summary
 ObjectName getThreadFactoryName()
          Gets the thread factory of this executor.
 void setThreadFactoryName(ObjectName factory)
          Sets the thread factory of this executor.
 
Methods inherited from interface org.norther.tammi.core.thread.Executor
getActiveCount, getCompletedTaskCount, getTaskCount
 
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
 
Methods inherited from interface java.util.concurrent.Executor
execute
 
Methods inherited from interface org.norther.tammi.core.base.Startable
isStarted, start, stop
 

Method Detail

getThreadFactoryName

ObjectName getThreadFactoryName()
Gets the thread factory of this executor.

Returns:
the name of the factory or a query.

setThreadFactoryName

void setThreadFactoryName(ObjectName factory)
Sets the thread factory of this executor.

Parameters:
factory - the name of the factory or a query.


Copyright © 2004 The Norther Organization. All rights reserved.