Class IntervalActionProcessor<T>
Object
com.liferay.portal.kernel.interval.IntervalActionProcessor<T>
- Author:
- Jonathan McCann, Sergio González, Preston Crary
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIntervalActionProcessor(int total) IntervalActionProcessor(int total, int interval) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidincrementStart(int increment) protected TperformIntervalActions(int start, int end) voidsetPerformIntervalActionMethod(IntervalActionProcessor.PerformIntervalActionMethod<T> performIntervalActionMethod)
-
Field Details
-
INTERVAL_DEFAULT
public static final int INTERVAL_DEFAULT- See Also:
-
-
Constructor Details
-
IntervalActionProcessor
public IntervalActionProcessor(int total) -
IntervalActionProcessor
public IntervalActionProcessor(int total, int interval)
-
-
Method Details
-
incrementStart
public void incrementStart() -
incrementStart
public void incrementStart(int increment) -
performIntervalActions
- Throws:
PortalException
-
setPerformIntervalActionMethod
public void setPerformIntervalActionMethod(IntervalActionProcessor.PerformIntervalActionMethod<T> performIntervalActionMethod) -
performIntervalActions
- Throws:
PortalException
-