biz.hammurapi.util
Class SerialProcessor

java.lang.Object
  extended by biz.hammurapi.util.SerialProcessor

public class SerialProcessor
extends java.lang.Object

Processes tasks from differen threads in a single thread.

Version:
$Revision: 1.6 $
Author:
Pavel Vlasov

Constructor Summary
SerialProcessor()
           
 
Method Summary
 void execute(java.lang.Runnable task)
          Executes task in a separate thread
static SerialProcessor getDefaultInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialProcessor

public SerialProcessor()
Method Detail

execute

public void execute(java.lang.Runnable task)
             throws java.lang.InterruptedException
Executes task in a separate thread

Throws:
java.lang.InterruptedException

getDefaultInstance

public static SerialProcessor getDefaultInstance()


Copyright © 2003 Hammurapi Group. All Rights Reserved.