Skip to content
Permalink
Browse files
Moving CrailFS to CrailStore
In the source code, CrailFS is renamed to CrailStore.
  • Loading branch information
Patrick Stuedi committed Feb 21, 2018
1 parent b126ab5 commit 89351e9af8a69285b1375cf05b9d7cdc693e3b34
Showing 1 changed file with 3 additions and 3 deletions.
@@ -77,10 +77,10 @@ Crail not only exports a Java API but also is written entirely in Java, which ma
</p>
</div>
CrailConfiguration conf = new CrailConfiguration();
CrailFS fs = CrailFS.newInstance(conf);
CrailFile file = fs.createFile(filename, 0, 0).get().syncDir();
CrailStore store = CrailStore.newInstance(conf);
CrailFile file = store.createFile(filename, 0, 0).get().syncDir();
CrailOutputStream outstream = file.getDirectOutputStream();
ByteBuffer dataBuf = fs.allocateBuffer();
ByteBuffer dataBuf = store.allocateBuffer();
Future<DataResult> future = outputStream.write(dataBuf);
...
future.get();

0 comments on commit 89351e9

Please sign in to comment.