if ( pool.getQueue() != null )
{
if ( pool.getQueue() instanceof BoundedBuffer )
{
BoundedBuffer bb = (BoundedBuffer) pool.getQueue();
se = new StatElement();
se.setName( "Queue Size" );
se.setData( "" + bb.size() );
elems.add( se );
se = new StatElement();
se.setName( "Queue Capacity" );
se.setData( "" + bb.capacity() );
elems.add( se );
}
}
se = new StatElement();