Searched defs:sync (Results 1 - 9 of 9) sorted by relevance

/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/
H A DFileUtils.java62 public static void sync(File fullFile) throws IOException { method in class:FileUtils
75 file.getFD().sync();
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DFileSwitchDirectory.java170 public void sync(String name) throws IOException { method in class:FileSwitchDirectory
171 sync(Collections.singleton(name));
175 public void sync(Collection<String> names) throws IOException { method in class:FileSwitchDirectory
185 primaryDir.sync(primaryNames);
186 secondaryDir.sync(secondaryNames);
H A DDirectory.java109 * @deprecated use {@link #sync(Collection)} instead.
111 * sync(Collections.singleton(name))
114 public void sync(String name) throws IOException { // TODO 4.0 kill me method in class:Directory
128 public void sync(Collection<String> names) throws IOException { // TODO 4.0 make me abstract method in class:Directory
130 sync(name);
H A DNRTCachingDirectory.java55 * all cached files will be flushed from the cached and sync'd.</p>
245 public void sync(Collection<String> fileNames) throws IOException { method in class:NRTCachingDirectory
247 System.out.println("nrtdir.sync files=" + fileNames);
252 delegate.sync(fileNames);
284 // IndexWriter should have sync'd all files, but we do
346 // Must sync here because other sync methods have
H A DFSDirectory.java124 protected final Set<String> staleFiles = synchronizedSet(new HashSet<String>()); // Files written, but not yet sync'ed
325 public void sync(String name) throws IOException { method in class:FSDirectory
326 sync(Collections.singleton(name));
330 public void sync(Collection<String> names) throws IOException { method in class:FSDirectory
504 file.getFD().sync();
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DConcurrentMergeScheduler.java252 sync();
256 public void sync() { method in class:ConcurrentMergeScheduler
524 allInstances.get(i).sync();
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestFieldsReader.java439 public void sync(Collection<String> names) throws IOException { method in class:TestFieldsReader.FaultyFSDirectory
440 fsDir.sync(names);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java141 public void sync(String name) throws IOException { method in class:MockDirectoryWrapper
145 throw new IOException("cannot sync after crash");
147 delegate.sync(name);
164 public synchronized void sync(Collection<String> names) throws IOException { method in class:MockDirectoryWrapper
168 throw new IOException("cannot sync after crash");
172 delegate.sync(names);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java138 public void sync(String name) throws IOException { method in class:MockDirectoryWrapper
142 throw new IOException("cannot sync after crash");
144 delegate.sync(name);
161 public synchronized void sync(Collection<String> names) throws IOException { method in class:MockDirectoryWrapper
165 throw new IOException("cannot sync after crash");
167 delegate.sync(names);

Completed in 23 milliseconds