Fledge
An open source edge computing platform for industrial users
StorageService Class Reference

The StorageService class. More...

#include <storage_service.h>

Inheritance diagram for StorageService:
Collaboration diagram for StorageService:

Public Member Functions

 StorageService (const string &name)
 Constructor for the storage service.
 
 ~StorageService ()
 Storage Service destructor.
 
void start (std::string &coreAddress, unsigned short corePort)
 Start the storage service.
 
void stop ()
 Stop the storage service/.
 
void shutdown ()
 Shutdown request.
 
void restart ()
 Restart request.
 
bool isRunning ()
 
void configChange (const std::string &, const std::string &)
 Configuration change notification.
 
void configChildCreate (const std::string &, const std::string &, const std::string &)
 
void configChildDelete (const std::string &, const std::string &)
 
string getPluginName ()
 Return the name of the configured storage service.
 
string getPluginManagedStatus ()
 Return the managed status of the storage plugin.
 
string getReadingPluginName ()
 Return the name of the configured reading plugin.
 
void setLogLevel (std::string level)
 
- Public Member Functions inherited from ServiceHandler
virtual bool securityChange (const std::string &payload)
 

Detailed Description

The StorageService class.

This class is the core of the service that offers access to the Fledge storage layer. It maintains the API and provides the hooks for incoming management API requests.


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