org.red5.server.pooling
Class ThreadPool

java.lang.Object
  extended by org.red5.server.pooling.ThreadPool
All Implemented Interfaces:
ThreadPoolMBean

public class ThreadPool
extends Object
implements ThreadPoolMBean

ThreadPool

Author:
Paul Gregoire (mondain@gmail.com)

Constructor Summary
ThreadPool()
           
 
Method Summary
 void execute(Runnable command)
           
 int getPoolSize()
           
 void setPoolSize(int poolSize)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPool

public ThreadPool()
Method Detail

getPoolSize

public int getPoolSize()
Specified by:
getPoolSize in interface ThreadPoolMBean

setPoolSize

public void setPoolSize(int poolSize)
Specified by:
setPoolSize in interface ThreadPoolMBean

execute

public void execute(Runnable command)

shutdown

public void shutdown()


Copyright © 2006-2009 The Red5 Project