18#ifndef _DECAF_UTIL_CONCURRENT_EXECUTOR_H_
19#define _DECAF_UTIL_CONCURRENT_EXECUTOR_H_
Interface for a runnable object - defines a task that can be run by a thread.
Definition: Runnable.h:29
An object that executes submitted decaf.lang.Runnable tasks.
Definition: Executor.h:87
virtual void execute(decaf::lang::Runnable *command)=0
This method is the same as calling the two param execute method and passing true as the second argume...
virtual ~Executor()
Definition: Executor.h:90
virtual void execute(decaf::lang::Runnable *command, bool takeOwnership)=0
Executes the given command at some time in the future.
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25