org.apache.cassandra.concurrent
Class ContinuationsExecutor.DiscardPolicy

java.lang.Object
  extended by org.apache.cassandra.concurrent.ContinuationsExecutor.DiscardPolicy
Enclosing class:
ContinuationsExecutor

public static class ContinuationsExecutor.DiscardPolicy
extends java.lang.Object

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


Constructor Summary
ContinuationsExecutor.DiscardPolicy()
          Creates a DiscardPolicy.
 
Method Summary
 void rejectedExecution(java.lang.Runnable r, ContinuationsExecutor e)
          Does nothing, which has the effect of discarding task r.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuationsExecutor.DiscardPolicy

public ContinuationsExecutor.DiscardPolicy()
Creates a DiscardPolicy.

Method Detail

rejectedExecution

public void rejectedExecution(java.lang.Runnable r,
                              ContinuationsExecutor 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 © 2009 The Apache Software Foundation