public int getCapacity()

in src/java/org/apache/fulcrum/pool/DefaultPoolService.java [270:289]


	public int getCapacity(String className) 
	{
		PoolBuffer pool = (PoolBuffer) poolRepository.get(className);
		if (pool == null) 
		{
			/* Check class specific capacity. */
			int capacity = poolCapacity;
			if (capacityMap != null) 
			{
				Integer cap = (Integer) capacityMap.get(className);
				if (cap != null) 
				{
					capacity = cap.intValue();
				}
			}
			return capacity;
		} else {
			return pool.capacity();
		}
	}