Class FileProvider

java.lang.Object
org.jgroups.raft.util.pmem.FileProvider

public class FileProvider extends Object
Creates FileChannel.

If a Persistence Memory drive is available, support is provided by https://github.com/jhalliday/mashona

Since:
0.5.4
Author:
Pedro Ruivo
  • Constructor Details

    • FileProvider

      public FileProvider()
  • Method Details

    • isPMEMAvailable

      public static boolean isPMEMAvailable()
    • openPMEMChannel

      public static FileChannel openPMEMChannel(File file, int length, boolean create, boolean readSharedMetadata) throws IOException
      Throws:
      IOException