public interface EventDefinition
| Modifier and Type | Method and Description |
|---|---|
Event |
make()
Returns the event.
|
EventDefinition |
modify(EventDefinitionModifier modifier)
Modifies the underlying event.
|
Event |
send()
Sends the event to the Input Event Queue.
|
EventSchedulerEntry |
sendAfter(Duration delay)
Sends the event to the Input Event Queue after a specified time.
|
EventSchedulerEntry |
sendAfter(Duration delay,
Duration interval)
Sends the event to the Input Event Queue periodically after a specified time.
|
EventSchedulerEntry |
sendAfter(long delay)
Sends the event to the Input Event Queue after a specified time.
|
EventSchedulerEntry |
sendAfter(long delay,
long interval)
Sends the event to the Input Event Queue periodically after a specified time.
|
EventSchedulerEntry |
sendAt(Instant instant)
Sends the event to the Input Event Queue at a specified time.
|
EventSchedulerEntry |
sendAt(Instant instant,
Duration interval)
Sends the event to the Input Event Queue at a specified time and then periodically.
|
EventSchedulerEntry |
sendAt(long milliseconds)
Sends the event to the Input Event Queue at a specified time.
|
EventSchedulerEntry |
sendAt(long milliseconds,
long interval)
Sends the event to the Input Event Queue at a specified time and then periodically.
|
EventSchedulerEntry |
sendAt(String crontabSpec)
Sends the event to the Input Event Queue at a time specified by the crontab spec.
|
EventDefinition |
set(String name,
Object value)
Sets event attribute.
|
EventDefinition set(String name, Object value)
name - attribute name.value - attribute value.EventDefinition modify(EventDefinitionModifier modifier)
modifier - event definition modifier.Event send()
QueueFullException if the Input Event Queue is full.EventSchedulerEntry sendAfter(long delay)
delay - delay in milliseconds.EventSchedulerEntry sendAfter(long delay, long interval)
delay - delay in milliseconds.interval - interval in milliseconds.EventSchedulerEntry sendAfter(Duration delay)
delay - delay as Duration.EventSchedulerEntry sendAfter(Duration delay, Duration interval)
delay - delay as Duration.interval - interval as Duration.EventSchedulerEntry sendAt(long milliseconds)
milliseconds - time in milliseconds.EventSchedulerEntry sendAt(long milliseconds, long interval)
milliseconds - time in milliseconds.interval - interval in milliseconds.EventSchedulerEntry sendAt(Instant instant)
instant - time as Instant.EventSchedulerEntry sendAt(Instant instant, Duration interval)
instant - time as Instant.interval - interval as Duration.EventSchedulerEntry sendAt(String crontabSpec)
crontabSpec - crontab spec.Event make()
Copyright © 2016–2017 Softelnet. All rights reserved.