public Cursor newCursor(String storeName) throws UnknownStoreException {
  IStore<ByteArray,byte[]> store=getStore(storeName);
  int cursorId=rpcService.getTransactionId();
  Cursor cursor=new Cursor(cursorId,store.entries());
  cursorMap.put(Integer.valueOf(cursorId),cursor);
  return cursor;
}

public Cursor newCursor ( String storeName ) throws UnknownStoreException { IStore < ByteArray , byte [ ] > store = getStore ( storeName ) ; int cursorId = rpcService . getTransactionId ( ) ; Cursor cursor = new Cursor ( cursorId , store . entries ( ) ) ; cursorMap . put ( Integer . valueOf ( cursorId ) , cursor ) ; return cursor ; }
allocate a new cursor for the given store name
