Android
java.util.concurrent
public static class

java.util.concurrent.ThreadPoolExecutor.DiscardPolicy

java.lang.Object
java.util.concurrent.ThreadPoolExecutor.DiscardPolicy RejectedExecutionHandler

A handler for rejected tasks that silently discards the rejected task.

Summary

Public Constructors

            ThreadPoolExecutor.DiscardPolicy()
Creates a DiscardPolicy.

Public Methods

          void  rejectedExecution(Runnable r, ThreadPoolExecutor e)
Does nothing, which has the effect of discarding task r.
Methods inherited from class java.lang.Object
Methods inherited from interface java.util.concurrent.RejectedExecutionHandler

Details

Public Constructors

public ThreadPoolExecutor.DiscardPolicy()

Creates a DiscardPolicy.

Public Methods

public void rejectedExecution(Runnable r, ThreadPoolExecutor e)

Does nothing, which has the effect of discarding task r.

Parameters

r the runnable task requested to be executed
e the executor attempting to execute this task
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48