net.sourceforge.acelogger.execution.manager
Class QueuedExecutorManager

java.lang.Object
  extended by net.sourceforge.acelogger.execution.manager.BaseExecutorManager
      extended by net.sourceforge.acelogger.execution.manager.BaseUtilConcurrentExecutorManager
          extended by net.sourceforge.acelogger.execution.manager.QueuedExecutorManager
All Implemented Interfaces:
ExecutorManager, Identifiable

public class QueuedExecutorManager
extends BaseUtilConcurrentExecutorManager

An implementation of ExecutorManager that runs tasks asynchronously, so the caller do not get blocked until task completion. The execution order is guaranteed by using only one thread for task execution. The tasks waits in a queue before they're executed.

Since:
1.0.0
Version:
1.0.0
Author:
Zardi (https://sourceforge.net/users/daniel_zardi)

Constructor Summary
QueuedExecutorManager(String identifier)
          Constructs a new QueuedExecutorManager with the supplied identifier.
 
Method Summary
 
Methods inherited from class net.sourceforge.acelogger.execution.manager.BaseUtilConcurrentExecutorManager
awaitTermination, execute, isTerminated, orderProperShutdown, terminateAndRetrieveTasks
 
Methods inherited from class net.sourceforge.acelogger.execution.manager.BaseExecutorManager
executeAll, getIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueuedExecutorManager

public QueuedExecutorManager(String identifier)
Constructs a new QueuedExecutorManager with the supplied identifier.

Parameters:
identifier - The string that identifies this executor manager.
Since:
1.0.0


Copyright © 2007-2010 The AceLogger Team. All Rights Reserved.