#include <partition.h>
|
| | partition_t (log_storage *, partition_number_t) |
| |
| virtual | ~partition_t () |
| |
| partition_number_t | num () const |
| |
| rc_t | open_for_append () |
| |
| rc_t | open_for_read () |
| |
| rc_t | close_for_append () |
| |
| rc_t | close_for_read () |
| |
| rc_t | read (logrec_t *&r, lsn_t &ll, lsn_t *prev_lsn=nullptr) |
| |
| void | release_read () |
| |
| size_t | read_block (void *buf, size_t count, off_t offset) |
| |
| rc_t | flush (lsn_t lsn, const char *const buf, long start1, long end1, long start2, long end2) |
| |
| bool | is_open_for_read () const |
| |
| bool | is_open_for_append () const |
| |
| size_t | get_size (bool must_be_skip=true) |
| |
| void | set_size (size_t size) |
| |
| rc_t | prime_buffer (char *buffer, lsn_t lsn, size_t &prime_offset) |
| |
| void | destroy () |
| |
§ partition_number_t
§ anonymous enum
§ anonymous enum
§ partition_t()
§ ~partition_t()
| virtual partition_t::~partition_t |
( |
| ) |
|
|
inlinevirtual |
§ close_for_append()
| rc_t partition_t::close_for_append |
( |
| ) |
|
§ close_for_read()
| rc_t partition_t::close_for_read |
( |
| ) |
|
§ destroy()
| void partition_t::destroy |
( |
| ) |
|
§ flush()
| rc_t partition_t::flush |
( |
lsn_t |
lsn, |
|
|
const char *const |
buf, |
|
|
long |
start1, |
|
|
long |
end1, |
|
|
long |
start2, |
|
|
long |
end2 |
|
) |
| |
§ fsync_delayed()
| void partition_t::fsync_delayed |
( |
int |
fd | ) |
|
|
private |
§ get_size()
| size_t partition_t::get_size |
( |
bool |
must_be_skip = true | ) |
|
§ is_open_for_append()
| bool partition_t::is_open_for_append |
( |
| ) |
const |
|
inline |
§ is_open_for_read()
| bool partition_t::is_open_for_read |
( |
| ) |
const |
|
inline |
§ num()
§ open_for_append()
| rc_t partition_t::open_for_append |
( |
| ) |
|
§ open_for_read()
| rc_t partition_t::open_for_read |
( |
| ) |
|
§ prime_buffer()
| rc_t partition_t::prime_buffer |
( |
char * |
buffer, |
|
|
lsn_t |
lsn, |
|
|
size_t & |
prime_offset |
|
) |
| |
§ read()
§ read_block()
| size_t partition_t::read_block |
( |
void * |
buf, |
|
|
size_t |
count, |
|
|
off_t |
offset |
|
) |
| |
§ release_read()
| void partition_t::release_read |
( |
| ) |
|
§ scan_for_size()
| rc_t partition_t::scan_for_size |
( |
bool |
must_be_skip | ) |
|
|
private |
§ set_size()
| void partition_t::set_size |
( |
size_t |
size | ) |
|
|
inline |
§ _artificial_flush_delay
| int partition_t::_artificial_flush_delay = 0 |
|
staticprivate |
§ _fhdl_app
| int partition_t::_fhdl_app |
|
private |
§ _fhdl_rd
| int partition_t::_fhdl_rd |
|
private |
§ _max_partition_size
| size_t partition_t::_max_partition_size |
|
private |
§ _mmap_buffer
| char* partition_t::_mmap_buffer |
|
private |
§ _num
§ _owner
§ _read_mutex
| mutex partition_t::_read_mutex |
|
private |
§ _readbuf
| char* partition_t::_readbuf |
|
private |
§ _size
The documentation for this class was generated from the following files: