Added in API level 1
    DiscardPolicy
open class DiscardPolicy : RejectedExecutionHandler
| kotlin.Any | |
| ↳ | java.util.concurrent.ThreadPoolExecutor.DiscardPolicy | 
A handler for rejected tasks that silently discards the rejected task.
Summary
| Public constructors | |
|---|---|
| Creates a  | |
| Public methods | |
|---|---|
| open Unit | rejectedExecution(r: Runnable!, e: ThreadPoolExecutor!)Does nothing, which has the effect of discarding task r. | 
Public constructors
Public methods
rejectedExecution
Added in API level 1
      open fun rejectedExecution(
r: Runnable!,
e: ThreadPoolExecutor!
): Unit
Does nothing, which has the effect of discarding task r.
| Parameters | |
|---|---|
| r | Runnable!: the runnable task requested to be executed | 
| executor | the executor attempting to execute this task | 
| e | ThreadPoolExecutor!: the executor attempting to execute this task | 
| Exceptions | |
|---|---|
| java.util.concurrent.RejectedExecutionException | if there is no remedy | 
