activemq-cpp-3.6.0
decaf::util::concurrent::ThreadPoolExecutor::DiscardPolicy Class Reference

Handler policy for tasks that are rejected upon a call to ThreadPoolExecutor::execute this class always destroys the rejected task and returns quietly. More...

#include <src/main/decaf/util/concurrent/ThreadPoolExecutor.h>

Inheritance diagram for decaf::util::concurrent::ThreadPoolExecutor::DiscardPolicy:

Public Member Functions

 DiscardPolicy ()
virtual ~DiscardPolicy ()
virtual void rejectedExecution (decaf::lang::Runnable *task, ThreadPoolExecutor *executer DECAF_UNUSED)
- Public Member Functions inherited from decaf::util::concurrent::RejectedExecutionHandler
 RejectedExecutionHandler ()
virtual ~RejectedExecutionHandler ()
virtual void rejectedExecution (decaf::lang::Runnable *r, ThreadPoolExecutor *executer)=0
 Method that may be invoked by a ThreadPoolExecutor when execute cannot accept a task.

Detailed Description

Handler policy for tasks that are rejected upon a call to ThreadPoolExecutor::execute this class always destroys the rejected task and returns quietly.

Since
1.0

Constructor & Destructor Documentation

decaf::util::concurrent::ThreadPoolExecutor::DiscardPolicy::DiscardPolicy ( )
inline
virtual decaf::util::concurrent::ThreadPoolExecutor::DiscardPolicy::~DiscardPolicy ( )
inlinevirtual

Member Function Documentation

virtual void decaf::util::concurrent::ThreadPoolExecutor::DiscardPolicy::rejectedExecution ( decaf::lang::Runnable task,
ThreadPoolExecutor *executer  DECAF_UNUSED 
)
inlinevirtual

The documentation for this class was generated from the following file: