18#ifndef _ACTIVEMQ_THREADS_TASKRUNNER_H_
19#define _ACTIVEMQ_THREADS_TASKRUNNER_H_
#define AMQCPP_API
Definition Config.h:30
Definition TaskRunner.h:27
virtual void wakeup()=0
Signal the TaskRunner to wakeup and execute another iteration cycle on the task, the Task instance wi...
virtual void shutdown()=0
Shutdown once the task has finished and the TaskRunner's thread has exited.
virtual void shutdown(long long timeout)=0
Shutdown after a timeout, does not guarantee that the task's iterate method has completed and the thr...
virtual bool isStarted() const =0
virtual void start()=0
Starts the task runner.
Definition CompositeTask.h:25
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24