public PList getDiskList() { if (diskList == null) { try { diskList = store.getPList(name); } catch (Exception e) { LOG.error("Caught an IO Exception getting the DiskList {}", name, e); throw new RuntimeException(e); } } return diskList; }
protected void startStore(File directory) throws Exception { store = createPListStore(); store.setDirectory(directory); store.start(); plist = store.getPList("main"); }
case CREATE: Thread.currentThread().setName("C:"+id); plist = store.getPList(String.valueOf(id)); LOG.info("Job-" + id + ", CREATE"); break; case ADD: Thread.currentThread().setName("A:"+id); plist = store.getPList(String.valueOf(id)); case REMOVE: Thread.currentThread().setName("R:"+id); plist = store.getPList(String.valueOf(id)); synchronized (plistLocks(plist)) { case ITERATE: Thread.currentThread().setName("I:"+id); plist = store.getPList(String.valueOf(id)); int iterateCount = 0; synchronized (plistLocks(plist)) { plist = store.getPList(String.valueOf(id));
for (int i=0; i<numLists; i++) { Thread.currentThread().setName("C:"+String.valueOf(i)); lists[i] = store.getPList(String.valueOf(i));
assertEquals("empty " + i, 0, store.getPList("List-" + i).size());
public PList getDiskList() { if (diskList == null) { try { diskList = store.getPList(name); } catch (Exception e) { LOG.error("Caught an IO Exception getting the DiskList {}", name, e); throw new RuntimeException(e); } } return diskList; }
public PList getDiskList() { if (diskList == null) { try { diskList = store.getPList(name); } catch (Exception e) { LOG.error("Caught an IO Exception getting the DiskList {}", name, e); throw new RuntimeException(e); } } return diskList; }
public PList getDiskList() { if (diskList == null) { try { diskList = store.getPList(name); } catch (Exception e) { LOG.error("Caught an IO Exception getting the DiskList {}", name, e); throw new RuntimeException(e); } } return diskList; }