Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
blockmetadata.hh
Go to the documentation of this file.
1 #pragma once
2 #include <cstdint>
3 #include <string>
4 
5 namespace eclipse {
6 
7 struct BlockMetadata {
8  std::string name;
9  std::string file_name;
10  unsigned int seq;
11  uint32_t hash_key;
12  uint32_t size;
13  unsigned int type;
14  int replica;
15  std::string node;
16  std::string l_node;
17  std::string r_node;
18  unsigned int is_committed;
19 };
20 
21 }
unsigned int type
Definition: blockmetadata.hh:13
std::string name
Definition: blockmetadata.hh:8
std::string node
Definition: blockmetadata.hh:15
uint32_t hash_key
Definition: blockmetadata.hh:11
int replica
Definition: blockmetadata.hh:14
std::string l_node
Definition: blockmetadata.hh:16
unsigned int is_committed
Definition: blockmetadata.hh:18
uint32_t size
Definition: blockmetadata.hh:12
std::string file_name
Definition: blockmetadata.hh:9
unsigned int seq
Definition: blockmetadata.hh:10
Definition: blockmetadata.hh:7
std::string r_node
Definition: blockmetadata.hh:17