rabbit.util
Class ThreadPool.Usage

java.lang.Object
  extended by rabbit.util.ThreadPool.Usage
Enclosing class:
ThreadPool<T>

public static class ThreadPool.Usage
extends java.lang.Object

The current usage of the threadpool


Constructor Summary
ThreadPool.Usage()
           
 
Method Summary
 int getFreeSize()
           
 int getUsedSize()
           
 void setUsage(int freeSize, int usedSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPool.Usage

public ThreadPool.Usage()
Method Detail

setUsage

public void setUsage(int freeSize,
                     int usedSize)

getFreeSize

public int getFreeSize()

getUsedSize

public int getUsedSize()