org.drupal.project.async_command.deprecated
Class CommandThreadFactory

java.lang.Object
  extended by org.drupal.project.async_command.deprecated.CommandThreadFactory
All Implemented Interfaces:
java.util.concurrent.ThreadFactory

public class CommandThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory

Creates default thread for command. TODO: this won't work with ThreadPoolExecutor because the Runnable is not AsyncCommand, but a adapter.


Nested Class Summary
static class CommandThreadFactory.Thread
           
 
Constructor Summary
CommandThreadFactory()
           
 
Method Summary
 CommandThreadFactory.Thread newThread(java.lang.Runnable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandThreadFactory

public CommandThreadFactory()
Method Detail

newThread

public CommandThreadFactory.Thread newThread(java.lang.Runnable r)
Specified by:
newThread in interface java.util.concurrent.ThreadFactory