#include <vdfs.hh>
|
| | vdfs () |
| |
| | vdfs (vdfs &) |
| |
| | ~vdfs () |
| |
| vdfs & | operator= (vdfs &) |
| |
| velox::file | open (std::string) |
| |
| long | open_file (std::string) |
| |
| bool | close (long) |
| |
| bool | is_open (long) |
| |
| velox::file | upload (std::string) |
| |
| bool | rm (std::string) |
| |
| bool | rm (long) |
| |
| bool | format () |
| |
| bool | exists (std::string) |
| |
| uint32_t | write (long, const char *, uint32_t, uint32_t) |
| |
| uint32_t | write (long, const char *, uint32_t, uint32_t, uint64_t) |
| |
| uint32_t | read (long, char *, uint64_t, uint64_t) |
| |
| uint32_t | read_chunk (std::string name, std::string host, char *buf, uint64_t boff, uint64_t, uint64_t) |
| |
| model::metadata | get_metadata (long fid, int type) |
| |
| void | append (std::string, std::string) |
| |
| std::vector< model::metadata > | list (bool all, std::string name="") |
| |
| bool | rename (std::string, std::string) |
| |
|
| std::string | load (std::string) |
| |
| vdfs::vdfs |
( |
vdfs & |
that | ) |
|
| void vdfs::append |
( |
std::string |
name, |
|
|
std::string |
content |
|
) |
| |
| bool vdfs::close |
( |
long |
fid | ) |
|
| bool vdfs::exists |
( |
std::string |
name | ) |
|
| bool vdfs::is_open |
( |
long |
fid | ) |
|
| std::vector< model::metadata > vdfs::list |
( |
bool |
all, |
|
|
std::string |
name = "" |
|
) |
| |
| std::string vdfs::load |
( |
std::string |
name | ) |
|
|
protected |
| file vdfs::open |
( |
std::string |
name | ) |
|
| long vdfs::open_file |
( |
std::string |
fname | ) |
|
| uint32_t vdfs::read |
( |
long |
fid, |
|
|
char * |
buf, |
|
|
uint64_t |
off, |
|
|
uint64_t |
len |
|
) |
| |
| uint32_t vdfs::read_chunk |
( |
std::string |
name, |
|
|
std::string |
host, |
|
|
char * |
buf, |
|
|
uint64_t |
boff, |
|
|
uint64_t |
off, |
|
|
uint64_t |
len |
|
) |
| |
| bool vdfs::rename |
( |
std::string |
src, |
|
|
std::string |
dst |
|
) |
| |
| bool vdfs::rm |
( |
std::string |
name | ) |
|
| bool vdfs::rm |
( |
long |
fid | ) |
|
| file vdfs::upload |
( |
std::string |
name | ) |
|
| uint32_t vdfs::write |
( |
long |
fid, |
|
|
const char * |
buf, |
|
|
uint32_t |
off, |
|
|
uint32_t |
len |
|
) |
| |
| uint32_t vdfs::write |
( |
long |
fid, |
|
|
const char * |
buf, |
|
|
uint32_t |
off, |
|
|
uint32_t |
len, |
|
|
uint64_t |
block_size |
|
) |
| |
The documentation for this class was generated from the following files:
- /home/travis/build/DICL/VeloxDFS/src/client/vdfs.hh
- /home/travis/build/DICL/VeloxDFS/src/client/vdfs.cc