kudu::client::KuduReplica Class Reference

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

#include <client.h>

List of all members.

Public Member Functions

bool is_leader () const
const KuduTabletServerts () const

Friends

class KuduClient
class KuduScanTokenBuilder

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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines