6#ifndef SENZING_SDK_CORE_SZCOREDIAGNOSTIC_HPP
7#define SENZING_SDK_CORE_SZCOREDIAGNOSTIC_HPP
17class SzCoreEnvironment;
46 bool destroyed_{
false};
Diagnostic operations against the Senzing repository.
Definition SzDiagnostic.hpp:11
Core implementation of SzDiagnostic backed by the native SzDiagnostic_* module.
Definition SzCoreDiagnostic.hpp:21
bool IsDestroyed()
True once the native module has been destroyed.
void PurgeRepository() override
Purges all records from the repository. Irreversible.
void Destroy()
Destroys the native diagnostic module.
std::string GetFeature(int64_t featureID) override
Returns JSON describing the feature identified by featureID.
SzCoreDiagnostic(const SzCoreDiagnostic &)=delete
std::string CheckRepositoryPerformance(int32_t secondsToRun) override
Runs a timed repository performance check for secondsToRun seconds and returns the resulting JSON.
SzCoreDiagnostic & operator=(const SzCoreDiagnostic &)=delete
~SzCoreDiagnostic() override=default
SzCoreDiagnostic(SzCoreEnvironment &env)
Constructs and initializes the native diagnostic module using the owning environment's settings.
std::string GetRepositoryInfo() override
Returns JSON describing the repository (datastore) configuration/state.
Core implementation of SzEnvironment backed by the native libSz modules.
Definition SzCoreEnvironment.hpp:29
Definition SzCoreConfig.hpp:20