/** Update all existing subobjects. */ void updateAll () { FileSystem mfs = getMultiFileSystem (); try { mfs.beginAtomicAction (); // enumeration of all existing objects Enumeration en = existingSubFiles(true); while (en.hasMoreElements()) { MultiFileObject mfo = (MultiFileObject)en.nextElement(); if (mfo.isFolder() && !mfo.isInitialized ()) continue; mfo.freeLastAttrCache (); mfo.superRefresh(true); } } finally { mfs.finishAtomicAction (); } }
/** Update all existing subobjects. */ void updateAll () { FileSystem mfs = getMultiFileSystem (); try { mfs.beginAtomicAction (); // enumeration of all existing objects Enumeration en = existingSubFiles(true); while (en.hasMoreElements()) { MultiFileObject mfo = (MultiFileObject)en.nextElement(); if (mfo.isFolder() && !mfo.isInitialized ()) continue; mfo.freeLastAttrCache (); mfo.superRefresh(true); } } finally { mfs.finishAtomicAction (); } }
mfo.freeLastAttrCache(); mfo.refresh(true);
mfo.freeLastAttrCache(); mfo.refresh(true);