Library: Data
Package: Logging
Header: Poco/Data/ArchiveStrategy.h
Archives rows scheduled for archiving.
Direct Base Classes: ArchiveStrategy
All Base Classes: ArchiveStrategy
Member Functions: archive, getThreshold, setThreshold
Inherited Functions: archive, getCopyStatement, getCountStatement, getDeleteStatement, getDestination, getSource, getThreshold, open, session, setCopyStatement, setCountStatement, setDeleteStatement, setDestination, setSource, setThreshold
ArchiveByAgeStrategy(
const std::string & connector,
const std::string & connect,
const std::string & sourceTable,
const std::string & destinationTable = DEFAULT_ARCHIVE_DESTINATION
);
void archive();
See also: Poco::Data::ArchiveStrategy::archive()
const std::string & getThreshold() const;
Returns the archive threshold.
void setThreshold(
const std::string & threshold
);
Sets the archive threshold.