BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
//set up lock records and store away uids
for (int i = 0; i < mNumberOfResources; i++)
{
mStateRecordList[i] = new BasicStateRecord(i);
String key = getResourceName("resource_" + i);
try
{
qautil.storeUid(key, mStateRecordList[i].get_uid());
}