iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
facebook::fb303::FacebookServiceClient Class Reference
Inheritance diagram for facebook::fb303::FacebookServiceClient:
facebook::fb303::FacebookServiceIf Apache::Hadoop::Hive::ThriftHiveMetastoreClient

Public Member Functions

 FacebookServiceClient (std::shared_ptr< ::apache::thrift::protocol::TProtocol > prot)
 
 FacebookServiceClient (std::shared_ptr< ::apache::thrift::protocol::TProtocol > iprot, std::shared_ptr< ::apache::thrift::protocol::TProtocol > oprot)
 
std::shared_ptr< ::apache::thrift::protocol::TProtocol > getInputProtocol ()
 
std::shared_ptr< ::apache::thrift::protocol::TProtocol > getOutputProtocol ()
 
void getName (std::string &_return) override
 
void send_getName ()
 
void recv_getName (std::string &_return)
 
void getVersion (std::string &_return) override
 
void send_getVersion ()
 
void recv_getVersion (std::string &_return)
 
fb_status::type getStatus () override
 
void send_getStatus ()
 
fb_status::type recv_getStatus ()
 
void getStatusDetails (std::string &_return) override
 
void send_getStatusDetails ()
 
void recv_getStatusDetails (std::string &_return)
 
void getCounters (std::map< std::string, int64_t > &_return) override
 
void send_getCounters ()
 
void recv_getCounters (std::map< std::string, int64_t > &_return)
 
int64_t getCounter (const std::string &key) override
 
void send_getCounter (const std::string &key)
 
int64_t recv_getCounter ()
 
void setOption (const std::string &key, const std::string &value) override
 
void send_setOption (const std::string &key, const std::string &value)
 
void recv_setOption ()
 
void getOption (std::string &_return, const std::string &key) override
 
void send_getOption (const std::string &key)
 
void recv_getOption (std::string &_return)
 
void getOptions (std::map< std::string, std::string > &_return) override
 
void send_getOptions ()
 
void recv_getOptions (std::map< std::string, std::string > &_return)
 
void getCpuProfile (std::string &_return, const int32_t profileDurationInSec) override
 
void send_getCpuProfile (const int32_t profileDurationInSec)
 
void recv_getCpuProfile (std::string &_return)
 
int64_t aliveSince () override
 
void send_aliveSince ()
 
int64_t recv_aliveSince ()
 
void reinitialize () override
 
void send_reinitialize ()
 
void shutdown () override
 
void send_shutdown ()
 

Protected Attributes

std::shared_ptr< ::apache::thrift::protocol::TProtocol > piprot_
 
std::shared_ptr< ::apache::thrift::protocol::TProtocol > poprot_
 
::apache::thrift::protocol::TProtocol * iprot_
 
::apache::thrift::protocol::TProtocol * oprot_
 

Member Function Documentation

◆ aliveSince()

int64_t facebook::fb303::FacebookServiceClient::aliveSince ( )
overridevirtual

Returns the unix time that the server has been running since

Implements facebook::fb303::FacebookServiceIf.

◆ getCounter()

int64_t facebook::fb303::FacebookServiceClient::getCounter ( const std::string &  key)
overridevirtual

Gets the value of a single counter

Parameters
key

Implements facebook::fb303::FacebookServiceIf.

◆ getCounters()

void facebook::fb303::FacebookServiceClient::getCounters ( std::map< std::string, int64_t > &  _return)
overridevirtual

Gets the counters for this service

Implements facebook::fb303::FacebookServiceIf.

◆ getCpuProfile()

void facebook::fb303::FacebookServiceClient::getCpuProfile ( std::string &  _return,
const int32_t  profileDurationInSec 
)
overridevirtual

Returns a CPU profile over the given time interval (client and server must agree on the profile format).

Parameters
profileDurationInSec

Implements facebook::fb303::FacebookServiceIf.

◆ getName()

void facebook::fb303::FacebookServiceClient::getName ( std::string &  _return)
overridevirtual

Returns a descriptive name of the service

Implements facebook::fb303::FacebookServiceIf.

◆ getOption()

void facebook::fb303::FacebookServiceClient::getOption ( std::string &  _return,
const std::string &  key 
)
overridevirtual

Gets an option

Parameters
key

Implements facebook::fb303::FacebookServiceIf.

◆ getOptions()

void facebook::fb303::FacebookServiceClient::getOptions ( std::map< std::string, std::string > &  _return)
overridevirtual

Gets all options

Implements facebook::fb303::FacebookServiceIf.

◆ getStatus()

fb_status::type facebook::fb303::FacebookServiceClient::getStatus ( )
overridevirtual

Gets the status of this service

Implements facebook::fb303::FacebookServiceIf.

◆ getStatusDetails()

void facebook::fb303::FacebookServiceClient::getStatusDetails ( std::string &  _return)
overridevirtual

User friendly description of status, such as why the service is in the dead or warning state, or what is being started or stopped.

Implements facebook::fb303::FacebookServiceIf.

◆ getVersion()

void facebook::fb303::FacebookServiceClient::getVersion ( std::string &  _return)
overridevirtual

Returns the version of the service

Implements facebook::fb303::FacebookServiceIf.

◆ reinitialize()

void facebook::fb303::FacebookServiceClient::reinitialize ( )
overridevirtual

Tell the server to reload its configuration, reopen log files, etc

Implements facebook::fb303::FacebookServiceIf.

◆ setOption()

void facebook::fb303::FacebookServiceClient::setOption ( const std::string &  key,
const std::string &  value 
)
overridevirtual

Sets an option

Parameters
key
value

Implements facebook::fb303::FacebookServiceIf.

◆ shutdown()

void facebook::fb303::FacebookServiceClient::shutdown ( )
overridevirtual

Suggest a shutdown to the server

Implements facebook::fb303::FacebookServiceIf.


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