net.sf.seide.thread
Class LoadSheddingPolicy

java.lang.Object
  extended by net.sf.seide.thread.LoadSheddingPolicy
All Implemented Interfaces:
RejectedExecutionHandler

public class LoadSheddingPolicy
extends Object
implements RejectedExecutionHandler


Constructor Summary
LoadSheddingPolicy(RuntimeStage runtimeStage)
           
 
Method Summary
 void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
           
 void setStageContext(RuntimeStage runtimeStage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadSheddingPolicy

public LoadSheddingPolicy(RuntimeStage runtimeStage)
Method Detail

rejectedExecution

public void rejectedExecution(Runnable r,
                              ThreadPoolExecutor executor)
Specified by:
rejectedExecution in interface RejectedExecutionHandler

setStageContext

public void setStageContext(RuntimeStage runtimeStage)


Copyright © 2011. All Rights Reserved.