Public Member Functions | List of all members
Aws::FileManagement::DataManagerStrategy Class Referenceabstract

#include <file_manager_strategy.h>

Inheritance diagram for Aws::FileManagement::DataManagerStrategy:
Inheritance graph

Public Member Functions

 DataManagerStrategy ()=default
virtual bool isDataAvailable ()=0
virtual bool isDeleteStaleData ()=0
virtual DataToken read (std::string &data)=0
virtual void resolve (const DataToken &token, bool is_success)=0
virtual void write (const std::string &data)=0
 ~DataManagerStrategy () override=default
- Public Member Functions inherited from Service
ServiceState getState ()
virtual std::string getStatusString ()
 Service ()
virtual bool shutdown ()
virtual bool start ()
virtual ~Service ()=default

Additional Inherited Members

- Protected Member Functions inherited from Service
void setState (ServiceState new_state)

Detailed Description

Definition at line 137 of file file_manager_strategy.h.

Constructor & Destructor Documentation

Aws::FileManagement::DataManagerStrategy::DataManagerStrategy ( )
Aws::FileManagement::DataManagerStrategy::~DataManagerStrategy ( )

Member Function Documentation

virtual bool Aws::FileManagement::DataManagerStrategy::isDataAvailable ( )
pure virtual
virtual bool Aws::FileManagement::DataManagerStrategy::isDeleteStaleData ( )
pure virtual
virtual DataToken Aws::FileManagement::DataManagerStrategy::read ( std::string &  data)
pure virtual
virtual void Aws::FileManagement::DataManagerStrategy::resolve ( const DataToken token,
bool  is_success 
pure virtual

Mark a token as 'done' so the DataManager knows the piece of data associated with that token can be cleaned up.

std::runtime_errorfor token not found

Implemented in Aws::FileManagement::FileManagerStrategy.

virtual void Aws::FileManagement::DataManagerStrategy::write ( const std::string &  data)
pure virtual

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

Author(s): AWS RoboMaker
autogenerated on Fri May 7 2021 02:18:23