IStats stats = new Stats();
stats.setTypeName( "Block Disk Cache" );
ArrayList<IStatElement<?>> elems = new ArrayList<IStatElement<?>>();
elems.add(new StatElement<Boolean>( "Is Alive", Boolean.valueOf(alive) ) );
elems.add(new StatElement<Integer>( "Key Map Size", Integer.valueOf(this.keyStore.size()) ) );
<BUG>try
{
elems.add(new StatElement<Long>( "Data File Length",
Long.valueOf(this.dataFile != null ? this.dataFile.length() : -1L) ) );
}</BUG>
catch ( IOException e )

IStats stats = new Stats();
stats.setTypeName( "Block Disk Cache" );
ArrayList<IStatElement<?>> elems = new ArrayList<IStatElement<?>>();
elems.add(new StatElement<Boolean>( "Is Alive", Boolean.valueOf(alive) ) );
elems.add(new StatElement<Integer>( "Key Map Size", Integer.valueOf(this.keyStore.size()) ) );
if (this.dataFile != null)
{
try
{
elems.add(new StatElement<Long>( "Data File Length", Long.valueOf(this.dataFile.length()) ) );
}
