net.sf.seide.thread
Class LoadSheddingPolicy
java.lang.Object
net.sf.seide.thread.LoadSheddingPolicy
- All Implemented Interfaces:
- RejectedExecutionHandler
public class LoadSheddingPolicy
- extends Object
- implements RejectedExecutionHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadSheddingPolicy
public LoadSheddingPolicy(RuntimeStage runtimeStage)
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.