zookeeper-cpp
ZooKeeper Client for C++
|
Statistics about a znode, similar to the UNIX stat
structure.
More...
#include <zk/types.hpp>
Public Types | |
using | time_point = std::chrono::system_clock::time_point |
Public Member Functions | |
bool | is_ephemeral () const |
Is the znode an ephemeral entry? More... | |
Public Attributes | |
transaction_id | create_transaction |
The transaction ID that created the znode. More... | |
transaction_id | modified_transaction |
The last transaction that modified the znode. More... | |
transaction_id | child_modified_transaction |
The transaction ID that last modified the children of the znode. More... | |
time_point | create_time |
Time the znode was created. More... | |
time_point | modified_time |
Last time the znode was last modified. More... | |
zk::version | data_version |
The number of changes to the data of the znode. More... | |
zk::child_version | child_version |
The number of changes to the children of the znode. More... | |
zk::acl_version | acl_version |
The number of changes to the ACL of the znode. More... | |
std::uint64_t | ephemeral_owner |
The session ID of the owner of this znode, if it is an ephemeral entry. More... | |
std::size_t | data_size |
The size of the data field of the znode. More... | |
std::size_t | children_count |
The number of children this znode has. More... | |
Statistics about a znode, similar to the UNIX stat
structure.
stat
structure.
|
inline |
zk::acl_version zk::stat::acl_version |
transaction_id zk::stat::child_modified_transaction |
zk::child_version zk::stat::child_version |
std::size_t zk::stat::children_count |
time_point zk::stat::create_time |
Time the znode was created.
create_transaction
(created after) will have a lower create_time
(appear to have been created before). transaction_id zk::stat::create_transaction |
std::size_t zk::stat::data_size |
zk::version zk::stat::data_version |
std::uint64_t zk::stat::ephemeral_owner |
time_point zk::stat::modified_time |
transaction_id zk::stat::modified_transaction |