Represents the local disk.
More...
#include <local_io.hh>
|
void | write (const std::string &, const std::string &) |
| Unbuffered write to disk. More...
|
|
void | update (const std::string &, const std::string &, uint32_t, uint32_t) |
|
std::string | read (const std::string &) |
|
std::string | read (const std::string &, uint32_t, uint32_t) |
|
std::string | read (const std::string &, uint32_t, uint32_t, bool) |
|
std::string | read_metadata () |
|
void | remove (const std::string &) |
|
bool | format () |
|
| Local_io () |
|
Represents the local disk.
Local_io automatically computes the prefix of the path.
bool Local_io::format |
( |
| ) |
|
std::string eclipse::Local_io::read |
( |
const std::string & |
| ) |
|
std::string eclipse::Local_io::read |
( |
const std::string & |
, |
|
|
uint32_t |
, |
|
|
uint32_t |
|
|
) |
| |
std::string eclipse::Local_io::read |
( |
const std::string & |
, |
|
|
uint32_t |
, |
|
|
uint32_t |
, |
|
|
bool |
|
|
) |
| |
std::string Local_io::read_metadata |
( |
| ) |
|
void Local_io::remove |
( |
const std::string & |
k | ) |
|
void Local_io::update |
( |
const std::string & |
name, |
|
|
const std::string & |
v, |
|
|
uint32_t |
pos, |
|
|
uint32_t |
len |
|
) |
| |
void Local_io::write |
( |
const std::string & |
name, |
|
|
const std::string & |
v |
|
) |
| |
Unbuffered write to disk.
No buffer
Binary write
The documentation for this class was generated from the following files:
- /home/travis/build/DICL/VeloxDFS/src/blocknode/local_io.hh
- /home/travis/build/DICL/VeloxDFS/src/blocknode/local_io.cc