org.elasticsearch.index.store.support
Interface ForceSyncDirectory

All Known Implementing Classes:
CompressedDirectory, SwitchDirectory

public interface ForceSyncDirectory

A custom directory that allows to forceSync (since the actual directory might disable it)


Method Summary
 void forceSync(String name)
          Similar to Directory.sync(String) but forces it even if its disabled.
 

Method Detail

forceSync

void forceSync(String name)
               throws IOException
Similar to Directory.sync(String) but forces it even if its disabled.

Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.