Kudu C++ client API
Public Member Functions | List of all members
kudu::client::KuduReplica Class Reference

In-memory representation of a remote tablet's replica. More...

#include <client.h>

Public Member Functions

bool is_leader () const
 
const KuduTabletServerts () const
 

Detailed Description

In-memory representation of a remote tablet's replica.

Member Function Documentation

bool kudu::client::KuduReplica::is_leader ( ) const
Returns
Whether or not this replica is a Raft leader.
Note
This information may be stale; the role of a replica may change at any time.
const KuduTabletServer& kudu::client::KuduReplica::ts ( ) const
Returns
The tablet server hosting this remote replica.

The documentation for this class was generated from the following file: