public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) ; { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
public final OutputObjectState getState (Uid objUid, int ft) { LinkedList list = getList(objUid); synchronized (list) { for (int i = 0; i < list.size(); i++) { StoreElement element = (StoreElement) list.get(i); if ((element != null) && !element.removed && (element.objUid.equals(objUid))) { if (element.fileType == ft) return element.state; } } /* * If not in cache then maybe we're working on it? */ synchronized (_workList) { if ((_work != null) && (objUid.equals(_work.objUid))) return _work.state; } } return null; }
state, ft); getList(objUid).addFirst(toAdd);
state, ft); getList(objUid).addFirst(toAdd);
state, ft); getList(objUid).addFirst(toAdd);
state, ft); getList(objUid).addFirst(toAdd);
state, ft); getList(objUid).addFirst(toAdd);
state, ft); getList(objUid).addFirst(toAdd);
state, ft); getList(objUid).addFirst(toAdd);
state, ft); getList(objUid).addFirst(toAdd);
state, ft); getList(objUid).addFirst(toAdd);