Package | Description |
---|---|
com.espertech.esper.schedule |
Package for timer callback scheduling
|
com.espertech.esper.type |
Internal primitive, enum and other type representations
|
Modifier and Type | Method and Description |
---|---|
EnumMap<ScheduleUnit,SortedSet<Integer>> |
ScheduleSpec.getUnitValues()
Return map of ordered set of valid schedule values for minute, hour, day, month etc.
|
Modifier and Type | Method and Description |
---|---|
void |
ScheduleSpec.addValue(ScheduleUnit element,
int value)
For unit testing, add a single value, changing wildcards to value sets.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
ScheduleSpec.compress(Map<ScheduleUnit,SortedSet<Integer>> unitValues)
Function to reduce value sets for unit that cover the whole range down to a wildcard.
|
protected static void |
ScheduleSpec.validate(Map<ScheduleUnit,SortedSet<Integer>> unitValues)
Validate units and their value sets.
|
Constructor and Description |
---|
ScheduleSpec(EnumMap<ScheduleUnit,SortedSet<Integer>> unitValues,
String optionalTimeZone,
CronParameter optionalDayOfMonthOperator,
CronParameter optionalDayOfWeekOperator) |
Modifier and Type | Method and Description |
---|---|
static ScheduleUnit |
ScheduleUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleUnit[] |
ScheduleUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|