18#ifndef _ACTIVEMQ_THREADS_SCHEDULER_H_
19#define _ACTIVEMQ_THREADS_SCHEDULER_H_
#define AMQCPP_API
Definition: Config.h:30
Scheduler class for use in executing Runnable Tasks either periodically or one time only with optiona...
Definition: Scheduler.h:40
Scheduler(const std::string &name)
virtual void doStop(activemq::util::ServiceStopper *stopper)
Performs the actual stop operation on the service, ensuring that all resources held are released,...
void executeAfterDelay(decaf::lang::Runnable *task, long long delay, bool ownsTask=true)
void schedualPeriodically(decaf::lang::Runnable *task, long long period, bool ownsTask=true)
virtual void doStart()
Performs the actual start operation on the service, acquiring all the resources needed to run the ser...
void cancel(decaf::lang::Runnable *task)
void executePeriodically(decaf::lang::Runnable *task, long long period, bool ownsTask=true)
Definition: ServiceStopper.h:30
Provides a base class for Service implementations.
Definition: ServiceSupport.h:38
Interface for a runnable object - defines a task that can be run by a thread.
Definition: Runnable.h:29
Map template that wraps around a std::map to provide a more user-friendly interface and to provide co...
Definition: StlMap.h:48
A facility for threads to schedule tasks for future execution in a background thread.
Definition: Timer.h:56
Mutex object that offers recursive support on all platforms as well as providing the ability to use t...
Definition: Mutex.h:39
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24