Bug 176798 Errors occur in JUnit test of org.eclipse.birt.data in daily build 20070309
Errors occur in JUnit test of org.eclipse.birt.data in daily build 20070309. Please see the attachment for details
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/CacheUtil.java
* If this value is not set, the default value is 10.
	 */
	public final static String MEMCACHE_ROWNUMBER = "org.eclipse.birt.data.engine.memcache.rownumber";
	
	private static Integer cacheCounter1 = new Integer(0);
	private static Integer cacheCounter2 = new Integer(0);
	
	private String tempDir;
	
	/**
	 * 
	 * @param context
	 */
	public CacheUtil ( String tempDir )
	{
		this.tempDir = tempDir;
	}
	
	
	
	/**
	 * @return
	 */
	static int computeCacheSize( )
	{
		
		String memcachesizeOfTest = System.getProperty( "birt.data.engine.test.memcachesize" );
		if ( memcachesizeOfTest != null )
			return Integer.parseInt( memcachesizeOfTest );