Liferay 6.1.2-ce-ga3

com.liferay.portal.increment
Class BufferedIncrementDiscardPolicy

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

public class BufferedIncrementDiscardPolicy
extends Object
implements RejectedExecutionHandler


Constructor Summary
BufferedIncrementDiscardPolicy()
           
 
Method Summary
 void rejectedExecution(Runnable runnable, 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(Runnable runnable,
                              ThreadPoolExecutor threadPoolExecutor)
Specified by:
rejectedExecution in interface RejectedExecutionHandler

setDiscardNumber

public void setDiscardNumber(int discardNumber)

Liferay 6.1.2-ce-ga3