@Override public synchronized void onCommit(List<? extends IndexCommit> commits) throws IOException { primary.onCommit(wrapCommits(commits)); lastCommit = commits.get(commits.size() - 1); }
@Override public synchronized void onInit(List<? extends IndexCommit> commits) throws IOException { initCalled = true; primary.onInit(wrapCommits(commits)); for(IndexCommit commit : commits) { if (refCounts.containsKey(commit.getGeneration())) { indexCommits.put(commit.getGeneration(), commit); } } if (!commits.isEmpty()) { lastCommit = commits.get(commits.size() - 1); } }
@Override public synchronized void onCommit(List<? extends IndexCommit> commits) throws IOException { primary.onCommit(wrapCommits(commits)); lastCommit = commits.get(commits.size() - 1); }
public synchronized void onCommit(List commits) throws IOException { primary.onCommit(wrapCommits(commits)); lastCommit = (IndexCommit) commits.get(commits.size()-1); }
@Override public synchronized void onCommit(List<? extends IndexCommit> commits) throws IOException { primary.onCommit(wrapCommits(commits)); lastCommit = commits.get(commits.size() - 1); }
@Override public synchronized void onCommit(List<? extends IndexCommit> commits) throws IOException { primary.onCommit(wrapCommits(commits)); lastCommit = commits.get(commits.size() - 1); }
public synchronized void onInit(List commits) throws IOException { primary.onInit(wrapCommits(commits)); lastCommit = (IndexCommit) commits.get(commits.size()-1); }
public synchronized void onInit(List commits) throws IOException { primary.onInit(wrapCommits(commits)); lastCommit = (IndexCommit) commits.get(commits.size()-1); }
public synchronized void onCommit(List commits) throws IOException { primary.onCommit(wrapCommits(commits)); lastCommit = (IndexCommit) commits.get(commits.size()-1); }
@Override public synchronized void onInit(List<? extends IndexCommit> commits) throws IOException { initCalled = true; primary.onInit(wrapCommits(commits)); for(IndexCommit commit : commits) { if (refCounts.containsKey(commit.getGeneration())) { indexCommits.put(commit.getGeneration(), commit); } } if (!commits.isEmpty()) { lastCommit = commits.get(commits.size() - 1); } }
@Override public synchronized void onInit(List<? extends IndexCommit> commits) throws IOException { initCalled = true; primary.onInit(wrapCommits(commits)); for(IndexCommit commit : commits) { if (refCounts.containsKey(commit.getGeneration())) { indexCommits.put(commit.getGeneration(), commit); } } if (!commits.isEmpty()) { lastCommit = commits.get(commits.size() - 1); } }
@Override public synchronized void onInit(List<? extends IndexCommit> commits) throws IOException { initCalled = true; primary.onInit(wrapCommits(commits)); for(IndexCommit commit : commits) { if (refCounts.containsKey(commit.getGeneration())) { indexCommits.put(commit.getGeneration(), commit); } } if (!commits.isEmpty()) { lastCommit = commits.get(commits.size() - 1); } }