Package org.apache.turbine.modules
Interface ScheduledJob
-
- All Superinterfaces:
Assembler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ScheduledJob extends Assembler
All Scheduled jobs should implement this. The class that implements ScheduledJob should contain the code that you actually want to execute at a specific time. The name of this class is what you register in the JobEntry.- Version:
- $Id$
- Author:
- Dave Bryson
-
-
Field Summary
Fields Modifier and Type Field Description static int
CACHE_SIZE_DEFAULT
The default size of the scheduler job cache if module caching is on.static String
CACHE_SIZE_KEY
The key for the scheduler job cache size if module caching is on.static String
NAME
Represents Scheduled Job Objectsstatic String
PREFIX
Prefix for scheduler job related classes
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(JobEntry job)
Run the Jobentry from the scheduler queue.
-
-
-
Field Detail
-
PREFIX
static final String PREFIX
Prefix for scheduler job related classes- See Also:
- Constant Field Values
-
CACHE_SIZE_KEY
static final String CACHE_SIZE_KEY
The key for the scheduler job cache size if module caching is on.- See Also:
- Constant Field Values
-
CACHE_SIZE_DEFAULT
static final int CACHE_SIZE_DEFAULT
The default size of the scheduler job cache if module caching is on.- See Also:
- Constant Field Values
-
NAME
static final String NAME
Represents Scheduled Job Objects- See Also:
- Constant Field Values
-
-