org.apache.openejb.server
Class ServicePool.Pool

java.lang.Object
  extended by org.apache.openejb.server.ServicePool.Pool
Enclosing class:
ServicePool

public class ServicePool.Pool
extends Object


Constructor Summary
ServicePool.Pool()
           
 
Method Summary
 void allowCoreThreadTimeOut(boolean value)
           
 int getActiveCount()
           
 long getCompletedTaskCount()
           
 int getCorePoolSize()
           
 long getKeepAliveTime(TimeUnit unit)
           
 int getLargestPoolSize()
           
 int getMaximumPoolSize()
           
 int getPoolSize()
           
 int getQueueSize()
           
 long getTaskCount()
           
 boolean isShutdown()
           
 boolean isTerminated()
           
 boolean isTerminating()
           
 void setCorePoolSize(int corePoolSize)
           
 void setKeepAliveTime(long time)
           
 void setMaximumPoolSize(int maximumPoolSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServicePool.Pool

public ServicePool.Pool()
Method Detail

isShutdown

public boolean isShutdown()

isTerminating

public boolean isTerminating()

isTerminated

public boolean isTerminated()

getPoolSize

public int getPoolSize()

getCorePoolSize

public int getCorePoolSize()

getMaximumPoolSize

public int getMaximumPoolSize()

getKeepAliveTime

public long getKeepAliveTime(TimeUnit unit)

getQueueSize

public int getQueueSize()

getActiveCount

public int getActiveCount()

getLargestPoolSize

public int getLargestPoolSize()

getTaskCount

public long getTaskCount()

getCompletedTaskCount

public long getCompletedTaskCount()

setMaximumPoolSize

public void setMaximumPoolSize(int maximumPoolSize)

setCorePoolSize

public void setCorePoolSize(int corePoolSize)

allowCoreThreadTimeOut

public void allowCoreThreadTimeOut(boolean value)

setKeepAliveTime

public void setKeepAliveTime(long time)


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.