3 #include <Poco/SharedPtr.h>
4 #include <Poco/Timespan.h>
13 typedef Poco::SharedPtr<BackOff> Ptr;
20 virtual Poco::Timespan
next() = 0;
25 virtual void reset() = 0;
31 static const Poco::Timespan
STOP;
39 typedef Poco::SharedPtr<BackOffFactory> Ptr;
46 virtual BackOff::Ptr
create() = 0;
virtual Poco::Timespan next()=0
Factory for creation of preconfigured BackOff instances.
Definition: BackOff.h:37
static const Poco::Timespan STOP
Definition: BackOff.h:31
Back-off policy for retrying an operation.
Definition: BackOff.h:11
virtual BackOff::Ptr create()=0