public static LibaioFile openControlFile()

in src/main/java/org/apache/activemq/artemis/nativo/jlibaio/LibaioContext.java [311:318]


   public static LibaioFile openControlFile(String file, boolean direct) throws IOException {
      checkNotNull(file, "path");

      // note: the native layer will throw an IOException in case of errors
      int res = LibaioContext.open(file, direct);

      return new LibaioFile<>(res, null);
   }