Interface for any resouce that support a suspend / resume style of operation.
More...
#include <src/main/activemq/util/Suspendable.h>
|
| virtual | ~Suspendable () |
| |
| virtual void | suspend ()=0 |
| | Suspend the given resource, all activity within the resource should halt and enter a waiting state. More...
|
| |
| virtual void | resume ()=0 |
| | Resumes normal operation of this resource after it has been suspended. More...
|
| |
Interface for any resouce that support a suspend / resume style of operation.
- Since
- 3.9.0
| virtual activemq::util::Suspendable::~Suspendable |
( |
| ) |
|
|
virtual |
| virtual void activemq::util::Suspendable::resume |
( |
| ) |
|
|
pure virtual |
Resumes normal operation of this resource after it has been suspended.
- Exceptions
-
| Exception | if an error occurs while the resource is being resumed. |
| virtual void activemq::util::Suspendable::suspend |
( |
| ) |
|
|
pure virtual |
Suspend the given resource, all activity within the resource should halt and enter a waiting state.
When a call to resume is made this resource should then resume normal operation.
- Exceptions
-
| Exception | if an error occurs while the resource is being suspended. |
The documentation for this class was generated from the following file: