Public Member Functions | |
LogPublisherMock (const std::string &log_group, const std::string &log_stream, const Aws::Client::ClientConfiguration &client_config) | |
Public Member Functions inherited from Aws::CloudWatchLogs::LogPublisher | |
LogPublisherRunState | getRunState () |
LogPublisher (const std::string &log_group, const std::string &log_stream, const Aws::Client::ClientConfiguration &client_config) | |
LogPublisher (const LogPublisher &other)=delete | |
LogPublisher (const std::string &log_group, const std::string &log_stream, std::shared_ptr< Aws::CloudWatchLogs::Utils::CloudWatchLogsFacade > cw_client) | |
LogPublisher & | operator= (const LogPublisher &other)=delete |
bool | shutdown () override |
bool | start () override |
~LogPublisher () override | |
Public Member Functions inherited from Publisher< LogCollection > | |
virtual void | addPublisherStateListener (const std::function< void(const PublisherState &)> &listener) |
Aws::DataFlow::UploadStatus | attemptPublish (LogCollection &data) override |
bool | canPublish () |
std::chrono::milliseconds | getLastPublishDuration () |
int | getPublishAttempts () |
PublisherState | getPublisherState () |
int | getPublishSuccesses () |
float | getPublishSuccessPercentage () |
Publisher () | |
bool | shutdown () override |
~Publisher () override=default | |
Public Member Functions inherited from Aws::DataFlow::IPublisher< T > | |
virtual UploadStatus | attemptPublish (T &batch_data)=0 |
Public Member Functions inherited from Service | |
ServiceState | getState () |
virtual std::string | getStatusString () |
Service () | |
virtual | ~Service ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from Publisher< LogCollection > | |
virtual Aws::DataFlow::UploadStatus | publishData (LogCollection &data)=0 |
Protected Member Functions inherited from Service | |
void | setState (ServiceState new_state) |
Definition at line 60 of file log_node_test.cpp.
|
inline |
Definition at line 63 of file log_node_test.cpp.