org.elasticsearch.index.store.support
Interface ForceSyncDirectory
- All Known Implementing Classes:
- SwitchDirectory
public interface ForceSyncDirectory
A custom directory that allows to forceSync (since the actual directory might disable it)
Method Summary |
void |
forceSync(java.lang.String name)
Similar to Directory.sync(String) but forces it even if its
disabled. |
forceSync
void forceSync(java.lang.String name)
throws java.io.IOException
- Similar to
Directory.sync(String)
but forces it even if its
disabled.
- Throws:
java.io.IOException