18#ifndef _DECAF_UTIL_CONCURRENT_REJECTEDEXECUTIONHANDLER_H_
19#define _DECAF_UTIL_CONCURRENT_REJECTEDEXECUTIONHANDLER_H_
29 class ThreadPoolExecutor;
Interface for a runnable object - defines a task that can be run by a thread.
Definition: Runnable.h:29
A handler for tasks that cannot be executed by a ThreadPoolExecutor.
Definition: RejectedExecutionHandler.h:36
RejectedExecutionHandler()
virtual void rejectedExecution(decaf::lang::Runnable *task, ThreadPoolExecutor *executor)=0
Method that may be invoked by a ThreadPoolExecutor when execute cannot accept a task.
virtual ~RejectedExecutionHandler()
Defines a Thread Pool object that implements the functionality of pooling threads to perform user tas...
Definition: ThreadPoolExecutor.h:58
#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