private boolean initialized = false;
private boolean debug = false;
- private String cephDebugLevel;
- private String monAddr;
private String fs_default_name;
private native boolean ceph_initializeClient(String arguments, int block_size);
private native String ceph_getcwd();
private native boolean ceph_setcwd(String path);
private native boolean ceph_rmdir(String path);
- private native boolean ceph_mkdir(String path);
private native boolean ceph_unlink(String path);
private native boolean ceph_rename(String old_path, String new_path);
private native boolean ceph_exists(String path);
*/
public class CephOutputStream extends OutputStream {
- private int bufferSize;
-
private boolean closed;
private int fileHandle;
private boolean debug;
- private native long ceph_seek_from_start(int fh, long pos);
private native long ceph_getpos(int fh);
private native int ceph_close(int fh);
private native int ceph_write(int fh, byte[] buffer, int buffer_offset, int length);