GPUdb C++ API  Version 7.2.3.0
gpudb::FailbackPollerService Class Reference

#include <gpudb/FailbackPollerService.hpp>

Public Member Functions

 FailbackPollerService (const gpudb::GPUdb &db, long pollingInterval)
 
 FailbackPollerService (const FailbackPollerService &)=delete
 
FailbackPollerServiceoperator= (const FailbackPollerService &)=delete
 
virtual ~FailbackPollerService ()
 
bool isRunning ()
 Checks whether the poller is running and returns true or false. More...
 
void start ()
 Starts the poller service. More...
 
void stop ()
 Stops the poller service. More...
 
void restart ()
 

Static Public Attributes

static constexpr int DEFAULT_START_DELAY = 0
 
static constexpr int DEFAULT_POLLING_INTERVAL = 5
 

Detailed Description

Definition at line 16 of file FailbackPollerService.hpp.

Constructor & Destructor Documentation

◆ FailbackPollerService() [1/2]

gpudb::FailbackPollerService::FailbackPollerService ( const gpudb::GPUdb db,
long  pollingInterval 
)
inline

Definition at line 37 of file FailbackPollerService.hpp.

◆ FailbackPollerService() [2/2]

gpudb::FailbackPollerService::FailbackPollerService ( const FailbackPollerService )
delete

◆ ~FailbackPollerService()

virtual gpudb::FailbackPollerService::~FailbackPollerService ( )
virtual

Member Function Documentation

◆ isRunning()

bool gpudb::FailbackPollerService::isRunning ( )

Checks whether the poller is running and returns true or false.

◆ operator=()

FailbackPollerService& gpudb::FailbackPollerService::operator= ( const FailbackPollerService )
delete

◆ restart()

void gpudb::FailbackPollerService::restart ( )

◆ start()

void gpudb::FailbackPollerService::start ( )

Starts the poller service.

◆ stop()

void gpudb::FailbackPollerService::stop ( )

Stops the poller service.

Member Data Documentation

◆ DEFAULT_POLLING_INTERVAL

constexpr int gpudb::FailbackPollerService::DEFAULT_POLLING_INTERVAL = 5
static

Definition at line 19 of file FailbackPollerService.hpp.

◆ DEFAULT_START_DELAY

constexpr int gpudb::FailbackPollerService::DEFAULT_START_DELAY = 0
static

Definition at line 18 of file FailbackPollerService.hpp.


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