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

#include <gpudb/FailbackPollerService.hpp>

Public Member Functions

 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 Member Functions

static FailbackPollerServiceget_instance (const gpudb::GPUdb &db, long pollingInterval=DEFAULT_POLLING_INTERVAL)
 

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()

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

◆ ~FailbackPollerService()

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

Member Function Documentation

◆ get_instance()

static FailbackPollerService& gpudb::FailbackPollerService::get_instance ( const gpudb::GPUdb db,
long  pollingInterval = DEFAULT_POLLING_INTERVAL 
)
static

◆ 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: