Liferay 7.0-ce-b4

com.liferay.portal.kernel.interval
Class IntervalActionProcessor<T>

java.lang.Object
  extended by com.liferay.portal.kernel.interval.IntervalActionProcessor<T>

public class IntervalActionProcessor<T>
extends Object


Nested Class Summary
static interface IntervalActionProcessor.PerformIntervalActionMethod<T>
           
 
Field Summary
static int INTERVAL_DEFAULT
           
 
Constructor Summary
IntervalActionProcessor(int total)
           
IntervalActionProcessor(int total, int interval)
           
 
Method Summary
 void incrementStart()
           
 void incrementStart(int increment)
           
 T performIntervalActions()
           
protected  T performIntervalActions(int start, int end)
           
 void setPerformIntervalActionMethod(IntervalActionProcessor.PerformIntervalActionMethod<T> performIntervalActionMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERVAL_DEFAULT

public static final int INTERVAL_DEFAULT
See Also:
Constant Field Values
Constructor Detail

IntervalActionProcessor

public IntervalActionProcessor(int total)

IntervalActionProcessor

public IntervalActionProcessor(int total,
                               int interval)
Method Detail

incrementStart

public void incrementStart()

incrementStart

public void incrementStart(int increment)

performIntervalActions

public T performIntervalActions()
                         throws PortalException
Throws:
PortalException

setPerformIntervalActionMethod

public void setPerformIntervalActionMethod(IntervalActionProcessor.PerformIntervalActionMethod<T> performIntervalActionMethod)

performIntervalActions

protected T performIntervalActions(int start,
                                   int end)
                            throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4