Package org.elasticsearch.index.translog
Interface ChannelFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ChannelFactory
only for testing until we have a disk-full FileSystem
-
Method Summary
-
Method Details
-
open
default java.nio.channels.FileChannel open(java.nio.file.Path path) throws java.io.IOException- Throws:
java.io.IOException
-
open
java.nio.channels.FileChannel open(java.nio.file.Path path, java.nio.file.OpenOption... options) throws java.io.IOException- Throws:
java.io.IOException
-