| java.lang.Object | |
| ↳ | java.util.concurrent.ThreadPoolExecutor.DiscardPolicy |
A handler for rejected tasks that silently discards the rejected task.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Creates a
DiscardPolicy
.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Does nothing, which has the effect of discarding task r.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||||||||||||||||||||||||
From interface
java.util.concurrent.RejectedExecutionHandler
|
|||||||||||||||||||||||||||||||||
Does nothing, which has the effect of discarding task r.
| r | the runnable task requested to be executed |
|---|---|
| e | the executor attempting to execute this task |