@Override public File get(String path) throws IOException { if (!SKIP_TRACKER) { globalMerge(); return store.getRecords(path); } return new File(path); }
@Override public File get(String path) throws IOException { if (!SKIP_TRACKER) { globalMerge(); return store.getRecords(path); } return new File(path); }
@Override public File get(String path) throws IOException { if (!SKIP_TRACKER) { globalMerge(); return store.getRecords(path); } return new File(path); }
/** * Retrieves all the reference files available in the DataStore and merges * them to the local store and then returns an iterator over it. * This way the ids returned are as recent as the snapshots taken on all * instances/repositories connected to the DataStore. * <p> * The iterator returned ia a Closeable instance and should be closed by calling #close(). * * @return iterator over all the blob ids available * @throws IOException */ @Override public Iterator<String> get() throws IOException { try { if (!SKIP_TRACKER) { globalMerge(); return store.getRecords(); } return Collections.emptyIterator(); } catch (IOException e) { LOG.error("Error in retrieving blob records iterator", e); throw e; } }
@Override public void remove(File recs) throws IOException { globalMerge(); store.removeRecords(recs); snapshot(true); }
/** * Retrieves all the reference files available in the DataStore and merges * them to the local store and then returns an iterator over it. * This way the ids returned are as recent as the snapshots taken on all * instances/repositories connected to the DataStore. * <p> * The iterator returned ia a Closeable instance and should be closed by calling #close(). * * @return iterator over all the blob ids available * @throws IOException */ @Override public Iterator<String> get() throws IOException { try { if (!SKIP_TRACKER) { globalMerge(); return store.getRecords(); } return Collections.emptyIterator(); } catch (IOException e) { LOG.error("Error in retrieving blob records iterator", e); throw e; } }
/** * Retrieves all the reference files available in the DataStore and merges * them to the local store and then returns an iterator over it. * This way the ids returned are as recent as the snapshots taken on all * instances/repositories connected to the DataStore. * <p> * The iterator returned ia a Closeable instance and should be closed by calling #close(). * * @return iterator over all the blob ids available * @throws IOException */ @Override public Iterator<String> get() throws IOException { try { if (!SKIP_TRACKER) { globalMerge(); return store.getRecords(); } return Collections.emptyIterator(); } catch (IOException e) { LOG.error("Error in retrieving blob records iterator", e); throw e; } }
@Override public void remove(File recs) throws IOException { globalMerge(); store.removeRecords(recs); snapshot(true); }
@Override public void remove(File recs) throws IOException { globalMerge(); store.removeRecords(recs); snapshot(true); }
@Override public void remove(Iterator<String> recs) throws IOException { globalMerge(); store.removeRecords(recs); snapshot(true); }
@Override public void remove(Iterator<String> recs) throws IOException { globalMerge(); store.removeRecords(recs); snapshot(true); }
@Override public void remove(Iterator<String> recs) throws IOException { globalMerge(); store.removeRecords(recs); snapshot(true); }
@Override public void remove(File recs, Options options) throws IOException { globalMerge(); if (options == Options.ACTIVE_DELETION) { deleteTracker.track(recs); } store.removeRecords(recs); snapshot(true); }
@Override public void remove(File recs, Options options) throws IOException { globalMerge(); if (options == Options.ACTIVE_DELETION) { deleteTracker.track(recs); } store.removeRecords(recs); snapshot(true); }
@Override public void remove(File recs, Options options) throws IOException { globalMerge(); if (options == Options.ACTIVE_DELETION) { deleteTracker.track(recs); } store.removeRecords(recs); snapshot(true); }