final int num = 100000;
public void testPut()
throws Exception
{
BlockingQueue twoThreadBlockingQueue = new TwoThreadBlockingQueue();
String[] items = generate( num );
//long start = System.currentTimeMillis();
for ( String item : items )
{
twoThreadBlockingQueue.add( item );
}
//long elapsed = System.currentTimeMillis() - start;
//System.out.println( "TwoThreadBlockingQueue insert " + num + " elements in = " + elapsed );
System.gc();
}