com.liferay.portal.increment
Class BufferedIncrementDiscardPolicy

java.lang.Object
  extended by com.liferay.portal.increment.BufferedIncrementDiscardPolicy
All Implemented Interfaces:
com.liferay.portal.kernel.concurrent.RejectedExecutionHandler

public class BufferedIncrementDiscardPolicy
extends java.lang.Object
implements com.liferay.portal.kernel.concurrent.RejectedExecutionHandler

Author:
Shuyang Zhou

Constructor Summary
BufferedIncrementDiscardPolicy()
           
 
Method Summary
 void rejectedExecution(java.lang.Runnable runnable, com.liferay.portal.kernel.concurrent.ThreadPoolExecutor threadPoolExecutor)
           
 void setDiscardNumber(int discardNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedIncrementDiscardPolicy

public BufferedIncrementDiscardPolicy()
Method Detail

rejectedExecution

public void rejectedExecution(java.lang.Runnable runnable,
                              com.liferay.portal.kernel.concurrent.ThreadPoolExecutor threadPoolExecutor)
Specified by:
rejectedExecution in interface com.liferay.portal.kernel.concurrent.RejectedExecutionHandler

setDiscardNumber

public void setDiscardNumber(int discardNumber)