#include <block_node.hh>
◆ BlockNode()
◆ ~BlockNode()
| eclipse::BlockNode::~BlockNode |
( |
| ) |
|
◆ block_append_local()
| bool eclipse::BlockNode::block_append_local |
( |
Block & |
block, |
|
|
uint64_t |
len |
|
) |
| |
◆ block_delete_local()
| bool eclipse::BlockNode::block_delete_local |
( |
Block & |
block, |
|
|
bool |
replicate = true |
|
) |
| |
Delete Local block.
This method read the block locally.
◆ block_insert_local()
| bool eclipse::BlockNode::block_insert_local |
( |
Block & |
block, |
|
|
bool |
replicate = true |
|
) |
| |
Save to disk a block and replicate.
This method insert the block locally and replicated it.
◆ block_read_local()
| bool eclipse::BlockNode::block_read_local |
( |
Block & |
block, |
|
|
uint64_t |
off = 0, |
|
|
uint64_t |
len = 0, |
|
|
bool |
ignore_params = true |
|
) |
| |
Read block from the local node.
This method read the block locally.
◆ block_update_local()
| bool eclipse::BlockNode::block_update_local |
( |
Block & |
block, |
|
|
uint64_t |
pos, |
|
|
uint64_t |
len, |
|
|
bool |
replicate = true |
|
) |
| |
Update the content of the block.
◆ replicate_message()
Compute the right and left node of the current node and send its replicas of the given block.
◆ local_io
◆ network_size
| int eclipse::BlockNode::network_size |
|
protected |
The documentation for this class was generated from the following files: