com.notuvy.thread
Class MultiRunnable

java.lang.Object
  extended by com.notuvy.thread.MultiRunnable
All Implemented Interfaces:
Runnable

public class MultiRunnable
extends Object
implements Runnable

A Runnable that is a list of Runnables. Delegate to the children.

Author:
murali

Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Constructor Summary
MultiRunnable(Runnable... pChildren)
           
 
Method Summary
 MultiRunnable add(Runnable pChild)
           
 void run()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.log4j.Logger LOG
Constructor Detail

MultiRunnable

public MultiRunnable(Runnable... pChildren)
Method Detail

add

public MultiRunnable add(Runnable pChild)

run

public void run()
Specified by:
run in interface Runnable

size

public int size()


Copyright © 2013. All Rights Reserved.