This project aims to be a complete implementation of a Java7/NIO.2 FileSystem backed by GlusterFS via libgfapi-jni
The Example.java file in the glusterfs-java-filesystem-example project provides a demonstration of the capabilities of this project from a high level consumer's point of view.
glusterfs-java-filesystem-example/src/main/java/com/peircean/glusterfs/example/Example.java
The example program can be run with maven by executing mvn exec:exec
in the glusterfs-java-filesystem-example directory.
- Set up travis-ci & coveralls
- Read directory contents
- Watch files for changes
- Advanced synchronous file I/O
Seeking & reading/writing a portion of a file - Asychronous file I/O
- Better error reporting & handling
- Connect to a GlusterFS volume using the NIO.2 API
- Basic synchronous file I/O
Read the contents of a file all at once
Write a chunk of bytes to a file all at once - File attributes
See & set owner, permissions, and last modified timestamp on files and directories
See file size - Filesystem/volume stats
See the total, free, and usable bytes in a volume
Until further notice (made here and in LICENSE.txt) this project is licensed under the terms of the 3-clause BSD license, as written in LICENSE.txt.
The licensing is likely to change in the near future as the project matures.