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 |
---|---|
java.util.EnumMap<ScheduleUnit,java.util.SortedSet<java.lang.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(java.util.Map<ScheduleUnit,java.util.SortedSet<java.lang.Integer>> unitValues)
Function to reduce value sets for unit that cover the whole range down to a wildcard.
|
protected static void |
ScheduleSpec.validate(java.util.Map<ScheduleUnit,java.util.SortedSet<java.lang.Integer>> unitValues)
Validate units and their value sets.
|
Constructor and Description |
---|
ScheduleSpec(java.util.EnumMap<ScheduleUnit,java.util.SortedSet<java.lang.Integer>> unitValues,
java.lang.String optionalTimeZone,
CronParameter optionalDayOfMonthOperator,
CronParameter optionalDayOfWeekOperator) |
Modifier and Type | Method and Description |
---|---|
static ScheduleUnit |
ScheduleUnit.valueOf(java.lang.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.
|