private static Object lock=new Object();
private int getbuff(long position,byte[] b,int offset,int len) throws IOException
{
long blockIndex=position>>BLOCK_SIZE_OFFSET;
long blocktart=blockIndex<<BLOCK_SIZE_OFFSET;
blockData blockdata=null;
if(blockIndex==this.lastBlockIndex)
{
blockdata=this.lastbuff;
}