Poco::Data

class ArchiveByAgeStrategy

File Information

Library: Data
Package: Logging
Header: Poco/Data/ArchiveStrategy.h

Description

Archives rows scheduled for archiving.

Inheritance

Direct Base Classes: ArchiveStrategy

All Base Classes: ArchiveStrategy

Member Summary

Member Functions: archive, getThreshold, setThreshold

Inherited Functions: archive, getCopyStatement, getCountStatement, getDeleteStatement, getDestination, getSource, getThreshold, open, session, setCopyStatement, setCountStatement, setDeleteStatement, setDestination, setSource, setThreshold

Constructors

ArchiveByAgeStrategy

ArchiveByAgeStrategy(
    const std::string & connector,
    const std::string & connect,
    const std::string & sourceTable,
    const std::string & destinationTable = DEFAULT_ARCHIVE_DESTINATION
);

Destructor

~ArchiveByAgeStrategy virtual

~ArchiveByAgeStrategy();

Member Functions

archive virtual

void archive();

getThreshold virtual inline

const std::string & getThreshold() const;

Returns the archive threshold.

setThreshold virtual

void setThreshold(
    const std::string & threshold
);

Sets the archive threshold.

Securely control IoT edge devices from anywhere   Connect a Device