Kudu C++ client API
Loading...
Searching...
No Matches
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

◆ is_leader()

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.

◆ ts()

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: