Class DroppedRequestHandler
- java.lang.Object
-
- org.forgerock.openam.radius.server.DroppedRequestHandler
-
- All Implemented Interfaces:
RejectedExecutionHandler
public class DroppedRequestHandler extends Object implements RejectedExecutionHandler
Handles incoming requests to the radius server when the thread pool's queue is full.
-
-
Constructor Summary
Constructors Constructor Description DroppedRequestHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrejectedExecution(Runnable r, ThreadPoolExecutor executor)Called when request is added to the pool but its queue is full.
-
-
-
Method Detail
-
rejectedExecution
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
Called when request is added to the pool but its queue is full.- Specified by:
rejectedExecutionin interfaceRejectedExecutionHandler- Parameters:
r- the runnable for the event that is being dropped from the thread pool.executor- the executor
-
-