@Deprecated @ProviderType public interface TimedEventStatusProvider
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_EVENT_ID
Deprecated.
This is a unique identifier which can be used to cancel the job.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelTimedEvent(String jobId)
Deprecated.
Cancel this timed event.
|
org.osgi.service.event.Event |
getScheduledEvent(String topic,
String eventId,
String jobId)
Deprecated.
Return the scheduled event with the given id.
|
Collection<org.osgi.service.event.Event> |
getScheduledEvents(String topic,
Map<String,Object>... filterProps)
Deprecated.
Return a list of currently scheduled events.
|
static final String PROPERTY_EVENT_ID
Collection<org.osgi.service.event.Event> getScheduledEvents(String topic, Map<String,Object>... filterProps)
topic
- Topic can be used as a filter, if it is non-null, only jobs with this topic will be returned.filterProps
- A list of filter property maps. Each map acts like a template. The searched event
must match the template (AND query). By providing several maps, different filters
are possible (OR query).org.osgi.service.event.Event getScheduledEvent(String topic, String eventId, String jobId)
void cancelTimedEvent(String jobId)
jobId
- The unique identifier as found in the property PROPERTY_EVENT_ID
.Copyright © 2014 The Apache Software Foundation. All rights reserved.