Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | List of all members
com.dicl.velox.VeloxDFS Class Reference
Collaboration diagram for com.dicl.velox.VeloxDFS:
Collaboration graph

Public Member Functions

 VeloxDFS ()
 
void destroy ()
 
long getVeloxDFS ()
 
native long open (String name)
 
native boolean close (long fid)
 
native boolean isOpen (long fid)
 
native long write (long fid, long pos, byte[] buf, long off, long len)
 
native long write (long fid, long pos, byte[] buf, long off, long len, long blockSize)
 
native long read (long fid, long pos, byte[] buf, long off, long len)
 
native long readChunk (String chunk_name, String host, byte[] buf, long boff, long off, long len)
 
native Metadata getMetadata (long fid, byte type)
 
native boolean remove (String name)
 
native boolean exists (String name)
 
native Metadata[] list (boolean all, String name)
 
native boolean rename (String src, String dst)
 

Constructor & Destructor Documentation

com.dicl.velox.VeloxDFS.VeloxDFS ( )
inline

Member Function Documentation

native boolean com.dicl.velox.VeloxDFS.close ( long  fid)
void com.dicl.velox.VeloxDFS.destroy ( )
inline
native boolean com.dicl.velox.VeloxDFS.exists ( String  name)
native Metadata com.dicl.velox.VeloxDFS.getMetadata ( long  fid,
byte  type 
)
long com.dicl.velox.VeloxDFS.getVeloxDFS ( )
inline
native boolean com.dicl.velox.VeloxDFS.isOpen ( long  fid)
native Metadata [] com.dicl.velox.VeloxDFS.list ( boolean  all,
String  name 
)
native long com.dicl.velox.VeloxDFS.open ( String  name)
native long com.dicl.velox.VeloxDFS.read ( long  fid,
long  pos,
byte[]  buf,
long  off,
long  len 
)
native long com.dicl.velox.VeloxDFS.readChunk ( String  chunk_name,
String  host,
byte[]  buf,
long  boff,
long  off,
long  len 
)
native boolean com.dicl.velox.VeloxDFS.remove ( String  name)
native boolean com.dicl.velox.VeloxDFS.rename ( String  src,
String  dst 
)
native long com.dicl.velox.VeloxDFS.write ( long  fid,
long  pos,
byte[]  buf,
long  off,
long  len 
)
native long com.dicl.velox.VeloxDFS.write ( long  fid,
long  pos,
byte[]  buf,
long  off,
long  len,
long  blockSize 
)

The documentation for this class was generated from the following file: